New answers tagged laravel
2
votes
My implementation of repository pattern in Laravel 5.6
The upsert() method is quite long. There are many lines dedicated to assigning attributes on the Company. Perhaps by now you've learned about Mass assignment but if ...
1
vote
Login Controller follow-up
Your questions
Can this class can be refactored to be more efficient?
As I explained in this review one could create a Form request class and move much of the validation logic there. That would ...
3
votes
A cleaner way to track model changes
ISO
... '01/07/2019' ...
Well known tech authority Randall Munroe
advocates
writing that as '2019-07-01'.
Or perhaps ...
Top 50 recent answers are included
Related Tags
laravel × 266php × 252
eloquent × 33
object-oriented × 21
controller × 19
javascript × 16
mysql × 15
mvc × 14
performance × 13
authentication × 11
php5 × 11
beginner × 10
sql × 9
validation × 8
repository × 8
database × 7
ajax × 7
rest × 7
laravel-blade × 6
unit-testing × 5
api × 5
vue.js × 5
jquery × 4
design-patterns × 4
security × 4