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
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…
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…
Filament admin panel has a few useful column types we can use in a table: and more. if you need a type of column that is not available in filament by default, you can create it yourself. Here we are going to make a column that shows a very simple…
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:…
json_encode and json_decode are php functions for working with JSON strings. Converting Array to JSON json_encode takes an array as a parameter and converts it to JSON. let’s test it. here it returns this JSON string: we can pass a second parameter as a flag to json_encode function. these flags…
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…