Quickly brainstorm test requirements with Laravel and Pest PHP with this fire tip from Laracasts!
The post Brainstorm Tests With PEST Todos 🔥 appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
---
13 May, 2023
12 May, 2023
Write Shell Scripts like Blade Components With Task Runner
Programing Coderfunda
May 12, 2023
No comments
Learn about Laravel Task Runner, a package by Pascal Baljet that lets you write Shell scripts like Blade Components and run them locally or on a remote server.
The post Write Shell Scripts like Blade Components With Task Runner appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
---
11 May, 2023
RouteGenius: Define routes in controllers like NestJs in Laravel
Programing Coderfunda
May 11, 2023
No comments
10 May, 2023
Create Repeatable Models with Laravel Recurring Models
Programing Coderfunda
May 10, 2023
No comments
The Recurring Models package for Laravel is the ultimate solution for adding recurring functionality to your Laravel Models.
The post Create Repeatable Models with Laravel Recurring Models appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
---
09 May, 2023
Creating a Reservation system in laravel. Step By Step
Programing Coderfunda
May 09, 2023
No comments
08 May, 2023
Single controller action for POST and GET form (symfony) vs separate action (laravel) - what speaks for symfony?
Programing Coderfunda
May 08, 2023
No comments
symfony argues this:
Rendering forms and processing forms are two of the main tasks when handling forms. Both are too similar (most of the time, almost identical), so it's much simpler to let a single controller action handle both.
https://symfony.com/doc/6.0/best_practices.html#use-a-single-action-to-render-and-process-the-form
now I think I disagree with it (I much seem to prefer https://www.youtube.com/watch?v=MF0jFKvS4SI&ab_channel=AdamWathan ). The thing is, the symfony forms ( https://symfony.com/doc/current/components/form.html ) and processing is done in a way that it simplifies actually doing it in one controller. There is no form component with laravel, and thus less incentives to reuse the same controller function (as you dont have to initialize the form component). What I saw as well a lot is that after validation failing, in symfony you dont do a redirect but instead do a rerender https://github.com/symfony/demo/blob/main/src/Controller/BlogController.php#L131 . This actually causes the user on pressing ctrl+r or refresh, to resubmit the form again which I don't think is what is intended behaviour?
Is there something I am missing? What do you guys subjectively prefer? submitted by /u/Iossi_84
[link] [comments]
07 May, 2023
What stack involving laravel do you (or your company) use?
Programing Coderfunda
May 07, 2023
No comments
In the dev sub-department of my company where I work, some of our old apps (3-5 years old) were built on Symfony + MySQL. Most of our newer greenfield projects are built now using Laravel + MySQL or Python (Flask + PostgreSQL). submitted by /u/shadowninja555
[link] [comments]



