Laravel 5.8: Automatic Policy Resolution
One of the new features in Laravel 5.8 allows you to not register your policies in AuthServiceProvider, they will be "guessed" automatically. Here's how it works.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
One of the new features in Laravel 5.8 allows you to not register your policies in AuthServiceProvider, they will be "guessed" automatically. Here's how it works.
There is one change in Laravel 5.8 that is not mentioned in the official Upgrade Guide but caused me problems - I couldn't create a foreign key migration, and spent half-hour until found out the reasons. So I want to share, maybe you will encounter the same thing.
Laravel is a good framework to create "software-as-a-service" solutions - with monthly payments by users. Usually, it should incorporate some kind of Free Trial mechanism. In this article, will show you my version of how to do it in Laravel 5.8.
If you need your users to be able to download multiple files at once, it's better to create one archive and let them download it. Here's how to do it in Laravel.
I have been to three Laracon EU conferences in Amsterdam (will likely be there in 2019, too, see you there?), and it's a great vibe. And usually one or two talks per year just strike it with really high quality and relevant topics. I decided to search official playlists and bring you my favorite top 5 videos every Laravel developer must watch.
Laravel migration mechanism has a great function of seeding data. In this article, I will show random tips from my own experience, how to use seeding in real-life cases.
Multi-tenancy is pretty common in web-projects - when you want to give records access only for users who created those records. In other words, everyone manages their own data and don't see anyone else's data. This article will show you how to implement it in the most simple way, in single database.
This will be a step-by-step tutorial how to implement "Login with Google" in your Laravel projects. We will take Laravel Breeze as a starter kit.
I know the title sounds unclear, so let me start with an example. What would be your Eloquent query if you have birth_date field in DB an want to show how many of your users are adult 18+ years, and how many are still children? Let's take a look.
Laravel validation system is great, including auto-populating error messages. But what if you want to override the names of the :attribute parameter values? Here's a simple example.