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.
Laravel has a great Auth system out-of-the-box, with just a few commands you can have Login/Register functions ready. But let's dive a little deeper and see what we can easily customize.
Spatie team is still on fire with new packages. This week they released another one called Laravel Searchable, created mainly by AlexVanderbist. I've tried it myself and can show you a demo, along with my opinion.
Typical Eloquent one-to-many relationship is defined with belongsTo() and hasMany() methods in the model. But did you know you can chain more methods to filter specific records for that relationship? Let me show you what I mean.
This is a free 15-minute live-coding video from my course "Excel Export/Import in Laravel". In this video, I'm seeding some data, exporting it to Excel, edit some data there and importing it back, all with Laravel Excel package.