Laravel Auth: Make Registration Invitation-Only
Laravel comes with great Auth out-of-the-box. But some projects don't allow public registration, they send invitation links instead. This article will show you how to implement it.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
Laravel comes with great Auth out-of-the-box. But some projects don't allow public registration, they send invitation links instead. This article will show you how to implement it.
Quite often we need to save addresses in the database, and we want them to be accurate. Probably, the best way to ensure it is to provide customers with input field where they choose the address from auto-completed values as they type. This article will show you how to achieve it in Laravel, let's build a "location picker" with Google Maps API.
Laravel has a great feature of binding models by id field. So you can specify edit(User $user) and system would know to find the user from ID in the URL. But what if you want to bind by some other field?
The most often question I hear in Laravel is this: "Where should I put this code logic?" Let's try to answer it, in an online-course format.
In modern multi-tenancy systems, it's pretty popular to give a specific sub-domain for every user or company, like laraveldaily.slack.com. How to handle these subdomains in Laravel routes?
Another package review on our YouTube channel, this time it's Laravel Vouchers by Beyondcode. Probably the most simple way to add discount codes to your Laravel app.
New video on our YouTube channel - mini-review of a package called Laravel Widgets. It's pretty simple on the surface, but has a few great features to make it really useful.
Sometimes you need to create a controller which doesn't cover all seven resourceful methods, like index(), create(), store() etc. You just need controller which does one thing and you're struggling how to name that method. No more struggle, there's __invoke() method.
New video on our YouTube channel, this time we're talking about required rule when applied to more than one field, if they are related to each other.