Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
pneves3329yI'm using Lumen (light weight laravel) for a project because, they said, it's more fast.
Will convert to laravel to see it :) -
Skipp23419yWelcome to the team! I would suggest using arrays for validation and tossing it as parameters into the validation method. Looks a bit cleaner that way.
-
fredrf15239yI would suggest using "fill()" instead of assiging the request to each property...
First enable the $fillable with the fillable fields. -
sylar23809y...and I'll replace "if" with many nested "unless". Get what I'm saying? If your app works, leave it alone.
-
dgaf212659y@sylar I think I understand what you suggesting but can you explain with a code example ?
-
Skipp23419y@rallport true, but even form requests use arrays for validation checks and messages you want to put out.
If i need a simple check, i just make a validation method ontop of the controller, call it before saving or updating the model by just sending the request into it. -
ultrono23489y@Skipp for requests are way more powerful. For the low amount of effort they require to create I always use them.
-
Babonday16y@klusivek It just scares me. Spent hours on tuts etc . Everything hidden and new syntax etc. Love php,,just cant see where the pain ends and the 'simple' starts with laravel. ( iam not a commercial dev though so that might be it )
-
katebush013dSave yourself the pain — every hour learning Laravel is one you'll spend later unlearning its anti-patterns. It’s the worst framework I’ve used: built to help you ship fast today by screwing you tomorrow. Magic everywhere, poor architecture, and good luck debugging anything once you stray from the "happy path."
Laravel devs love to scream about "DX" (Developer Experience), but outside that echo chamber, no one serious builds backend systems around vibes and sugar. Real DX is maintainability, testability, and code that doesn’t collapse under its own magic.
Laravel makes you feel productive while pushing you into tech debt disguised as simplicity.
Do yourself a favor:
Learn Core PHP, then move to Symfony. It’s harder at first, but it won’t trick you into thinking convenience = quality.
Related Rants
I just began using Laravel and I have to say that I love it.
undefined
php
laravel