How the PHP Middleware Pattern works and can easily be applied
– doeken.org - submitted by Doeke Norg
The Middleware Pattern allows you to easily change the input and output of an action; one layer at a time.
Read more [doeken.org]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log in– doeken.org - submitted by Doeke Norg
The Middleware Pattern allows you to easily change the input and output of an action; one layer at a time.
Read more [doeken.org]
– kbouzidi.com - submitted by Khalil Bouzidi
In this article, we will build a saas application with a subscription payment model using laravel-permission and laravel cashier (stripe).
Read more [kbouzidi.com]
– github.com - submitted by Ankur
Handle Mailgun Webhooks in a Laravel application
Read more [github.com]
– github.com - submitted by Ali
Laravel-inspired validation for HTML forms, built for simplicity of use.
Read more [github.com]
– github.com - submitted by Ari
A sliding window rate limiter for Laravel
Read more [github.com]
– doeken.org - submitted by Doeke Norg
DRY up code by deferring specifics to a callback.
Read more [doeken.org]
– chrysanthos.xyz - submitted by Chrysanthos
There are cases where you’d like to build different JS/CSS assets for your site, like when you are building a landing page and a user-authenticated dashboard. You wouldn’t want to load all the CSS and JS assets on your landing page would you?
Read more [chrysanthos.xyz]
– adevait.com - submitted by Filip Josifovski
Packages are a great way to make a bunch of code reusable and easily shareable. You may have already come across many Laravel packages, both official and community-maintained—some of them simple and some very complex. In the following article, you’ll learn most of the fundamental concepts around putting together a Laravel custom package.
Read more [adevait.com]
– kbouzidi.com - submitted by Khalil Bouzidi
In this tutorial, we will build together a Laravel real-time event broadcasting app using Soketi.
Read more [kbouzidi.com]
While Amazon S3 is awesome for storage, It also has a feature called S3 Select. With S3 Select, You can use a simple SQL query to filter the content of the stored objects. and retrieve only a subset of data that you need.
Read more [sanjit.me]
– adithya.dev - submitted by Adithya
Data Providers in PHPUnit, Inline Data Providers and how to use them in PHPUnit
Read more [adithya.dev]
– dev.to - submitted by Ricardo Čerljenko
Working with datetime in PHP could be a real pain if you don't take advantage of popular libraries like Carbon. It's all good until you have to convert dates provided on user input into another timezone (eg. UTC) and vice versa. Other example could be that you have to manage various input datetime formats, and sanitize them into a consistent one before saving it to database.
Read more [dev.to]
– youtu.be - submitted by Ashish Dhamala
Let's see how to make Indeterminate checkbox state without using any plugins.
Read more [youtu.be]
– gist.github.com - submitted by Mithicher Baro
Markdown Editor Component with AlpineJS & Laravel Blade. This component also works with Laravel Livewire.
Read more [gist.github.com]
– dev.to - submitted by Ricardo Čerljenko
While building your app in Laravel PHP Framework, you have multiple ways of protecting your API routes with various auth guards or Basic auth. Would it be nice to support both API guard and Basic auth at the same time?
Read more [dev.to]
– sinnbeck.dev - submitted by René Sinnbeck
Are you getting errors with laravels groupBy()? Here is short explanation of why.
Read more [sinnbeck.dev]
– tray2.se - submitted by Patrik Ahlström
You might think that the way your store your data isn't really that important. Well it's more important than you think it is. A good database design just like good clean code is the key to performance, not only for the end user but also for you the developer. A poor database model just like poorly written code will slow you down and furthermore it will slow your database queries down which results in a slow application.
Read more [tray2.se]
– barryvanveen.nl - submitted by Barry van Veen
I made a script to easily take consistent measurements using Apache Benchmark. It includes an easy way to compare multiple measurements in a visual way.
Read more [barryvanveen.nl]
– geisi.dev - submitted by Tim Geisendörfer
Let's improve your users privacy with file encryption without using any 3rd party packages.
Read more [geisi.dev]
– tray2.se - submitted by Patrik Ahlström
## Common SQL errors and how to solve them in Laravel A post about how to prevent and solve the most common SQL errors in Laravel.
Read more [tray2.se]