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
consider a Many-to-Many relationship: a book can have many authors and every author can have many books. so the table structure is something like this. books: authors: book_author: and the models: the book_author table is called a pivot table which stores the ids of authors and books related to each…
The Filament admin panel has Charts, Tables and Stats Widgets by default. we can create our own custom widgets too. we are going to create custom a widget that shows the status of an order in an e-commerce website. Create Widget Class and View file i installed Filament and in…
we learn how we can customize Filament Admin panel, we can change color, logo, and use our own custom assets.
using components in Laravel helps us keep the UI code clean and reusable in other places. imagine we have a component we created for a checkbox: we use it in a blade file like this: we should be able to check or uncheck the checkbox based on some value in…
changing php version in local web server doesn’t change the version in the command line terminal of an IDE like PhpStorm. here I changed the php version in laragon but the version in phpstorm terminal stays the same. you can check it with php -v command to change that we…
Observers are php classes that we can use to listen to events on an eloquent model. every eloquent model dispatches several events. for instance when we create or save a model ($product->save()) “created” and “creating” events are dispatched. we use observers to do an operation when these events are dispatched….