Using PHPUnit Data Providers to Test Validation Rules
– chriswhite.is - submitted by Chris White
Using PHPUnit data providers is a succinct way of testing your form's validation rules. This post will show you how.
Read more [chriswhite.is]
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– chriswhite.is - submitted by Chris White
Using PHPUnit data providers is a succinct way of testing your form's validation rules. This post will show you how.
Read more [chriswhite.is]
– rushflow.io - submitted by Daniel Vigueras
Choosing a Continuous Integration / Deployment tool to build, test, and deploy your code can be hard due to the wide number of options available. In this article, I describe the main characteristics of three of the most known services.
Read more [rushflow.io]
– www.juststeveking.uk - submitted by Steve McDougall
In a typical Laravel application we are very used to doing things in a certain way, by the book as they say. However there comes a point in the applications lifetime that it is going to be easier to start looking to split this code into Domains so that we can logically group our code. Our first step is to decide what is our domain code and what is our application code, and the simplest way to do that is to keep anything that can be directly accessed from the outside world (as in web, cli or API) inside of the App namespace. From here we can start to define our domain boundaries, try to think of these in broader terms that just “A post must be in the Post domain” as you aren’t solving any problems at that point.
Read more [www.juststeveking.uk]
– tkaratug.medium.com - submitted by Turan Karatuğ
A medium post that describes an approach to testing Laravel query scopes without code duplication.
Read more [tkaratug.medium.com]
– www.youtube.com - submitted by Andrew Schmelyun
Aimed at beginners, a basic but detailed overview of how events and listeners work in Laravel, and how you can use them in your own application.
Read more [www.youtube.com]
– github.com - submitted by Ari
A package to generate hashids for Eloquent models
Read more [github.com]
– www.youtube.com - submitted by Develop Line
I have tried my best to explain the concepts of Laravel Ecosystem items on its website with animations and small jokes.
Read more [www.youtube.com]
– github.com - submitted by Morteza
This is a package to make it easy to write tests for Laravel application.
Read more [github.com]
– 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]