Filament: Click on Widget - Auto-Update Table Filter
Let me show you one Filament "trick". In your resource list, you might have some stats widgets. What if you could click on them and set the tables filter according to the widget?
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
Let me show you one Filament "trick". In your resource list, you might have some stats widgets. What if you could click on them and set the tables filter according to the widget?
When working with files and images in Laravel, you can store them for public and private use. In this tutorial, we will explore how to do both, also looking at local server and Amazon S3 setup.
Have you ever used `Auth::user()` in Laravel? So yeah, that `Auth` is a Facade. Question: do you actually need to know how they work, and would you need to create your own facades?
In this tutorial, we will explore how to use Laravel, Vue, and Laravel Sanctum together to build an API authentication, in two ways: in two-in-one Laravel + Vue SPA, or as separate Vue + API projects.
Sometimes when using `composer install` or `composer update` commands you might install packages that don't fulfill system requirements, something like "your php version (8.1.2) does not satisfy that requirement".
In every Laravel project, you will have two files, `composer.json` and `composer.lock`. What is the difference between them?
How should you name your Controllers: singular or plural? In this tutorial, we will cover a dozen tips for naming different things in Laravel and PHP, including Models, Controllers, Blade files, Migrations, and more.
For fixing code styling mistakes, there's a great tool called Laravel Pint. In this article, I will list one of the most typical fixes it makes, with before/after examples.
If you want to add an index to the column in Laravel migrations and you're not sure if that index already exists, how to make sure that no error happens when running migrations?
If you launch an API request from a client like Postman, you may see an error in HTML and not JSON. How to prevent it?