filamentphp admin route not found
if you just installed Filamentphp admin panel and “/admin” gives you a 404 error try clearing route cache.
php artisan route:clear
if you just installed Filamentphp admin panel and “/admin” gives you a 404 error try clearing route cache.
php artisan route:clear
recently I installed a new wordpress installation using laragon. but after opening homepage I got this error: Fatal error: Uncaught mysqli_sql_exception: Table ‘wp1.wp_options’ doesn’t exist I checked PHPMyAdmin and the database existed but the installation page didn’t show up. after searching on the web for a few minutes I found…
Atomic Lock is a way to make sure specific operations just happen by one user during a certain time. let’s say we have an app that reserves seats for events like theater or conferences. obviously, we don’t want to mistakenly give one seat to two people. you might ask how…
Laravel-heyman is a package created by Iman Ghafoori to implement authorization in Laravel. the primary way for us to implement authorization in laravel is by using gates and policies and then using authorize() ot Gate::allows()in controller methods. but this package offers another way. with Heyman we define all the rules…
sometimes we need to order the records of a table based on a column from another table. imagine we have a table called “authors” that has a relationship with a “books” table. we might need to get books and sort them based on author’s name. here I will explain ordering…
what is trait and where should we use it in Laravel? Trait is a feature in PHP that lets us define methods once and use them in multiple classes. for example, Laravel controllers use traits for adding capabilities like request validation or authorization. take a look at Controller.php in Laravel:…
it’s important for a software to be able to handle errors effectively. it has to log the error and inform the user so he knows what’s the issue and decide what to do next. in develpoing with laravel try-catch statement help us achieve this. it checks if the code give…