Support the ongoing development of Laravel.io →

halaei

Joined 1 Aug 2014

Statistics

Threads 3
Replies 2
Solutions 0
Articles 0

Code less or more?

Here are 2 pieces of code that does the same thing. Which one do you prefer? 1- Magical: $flights =...

0 Likes
0 Replies

Opinion about eloquent

Things that I like about eloquent: Fantastic query builder Facilities provided in model the abili...

0 Likes
0 Replies
posted 9 years ago

How should $request->merge() work in laravel 5?

First make a TestRequest with artisan make:request TestRequest. Then put this code in your routes.ph...

0 Likes
0 Replies
replied 8 years ago

Is there a way to specify the length of an index ?

You can use DB::raw() as well public function up() { Schema::table('Customers', function($table)...

0 Likes
replied 10 years ago

Correct use of Repository pattern

I am thinking for a while, if Repository is to decouple Controller from Model implementations, why w...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.