PhpStorm is a powerful IDE for PHP development, with many features to write code faster and more efficiently, including refactoring your code. In this tutorial, let's look at some examples, with screenshots.
When debating about commenting code, some developers say you should ALWAYS write comments. Others say the code should be clear enough, with comments only as a "last resort". Let's take a look at examples.
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".
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.