Top "Laravel-4" questions

Laravel 4.2 is the previous version of the open-source PHP web development MVC framework created by Taylor Otwell.

Eloquent model mass update

Please correct me if I am wrong, but I think there is no such thing as mass update in an …

php laravel laravel-4 eloquent
Clone an Eloquent object including all relationships?

Is there any way to easily clone an Eloquent object, including all of its relationships? For example, if I had …

laravel laravel-4 clone eloquent
How to get a list of registered route paths in Laravel?

I was hoping to find a way to create an array with the registered routes paths within Laravel 4. Essentially, I …

arrays laravel laravel-4 laravel-routing
Laravel save / update many to many relationship

Can anyone help me on how to save many to many relationship? I have tasks, user can have many tasks …

laravel laravel-4 eloquent relationship
laravel with() method versus load() method

I really tried to understand the difference between the with() method and the load() method, but couldn't really understand. As …

laravel laravel-4
Laravel - find by custom column or fail

There's findOrFail() method which throws 404 if nothing was found, e.g.: User::findOrFail(1); How can I find an entity by …

laravel laravel-4 eloquent laravel-5
Where can I set headers in laravel

I want to set headers as array('Cache-Control'=>'no-cache, no-store, max-age=0, must-revalidate','Pragma'=>'no-cache','Expires'=>'Fri, 01 Jan 1990 00:00:00 …

laravel laravel-4
Dropping column with foreign key Laravel error: General error: 1025 Error on rename

I've created a table using migration like this: public function up() { Schema::create('despatch_discrepancies', function($table) { $table->increments(…

php laravel laravel-4 database-migration
Forbidden You don't have permission to access on this server. Centos 6 / Laravel 4

i got a problem after i finish to set up LAMP and installed my laravel 4 application. Everything seem went well, …

apache laravel laravel-4 httpd.conf http-status-code-403
Laravel: Where to store global arrays data and constants?

I just started working with Laravel. I need to rewrite a whole system I made some years ago, using Laravel 4 …

php laravel laravel-4 global-state