Top "Laravel-4" questions

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

Laravel : How do I insert the first user in the database

I am using Laravel (4.2) I am working on a project with an authentication system. I need to insert a first …

mysql laravel laravel-4 laravel-seeding
Laravel - syntax error, unexpected end of file

I have a website which works fine on host, but I'm currently trying to install it on localhost. I've downloaded …

php laravel laravel-4 eval
Why soft deleted entities appear in query results?

I am trying to implement soft deleting concept. Here is my object: class Post extends Eloquent { /** * The database table used …

laravel laravel-4 eloquent soft-delete
How to automatically append query string to laravel pagination links?

I am working on search filter on checkbox click, with Laravel and Ajax call. So I get results when I …

laravel-4 pagination
Add "ON DELETE CASCADE" to existing column in Laravel

I have user_id fk column in my table $table->foreign('user_id')->references('id')->…

php laravel laravel-4 database-migration
Redirect to Login if user not logged in Laravel

i am new to laravel, i have code in my controller's __construct like if(Auth::check()) { return View::make('view_…

laravel laravel-4 laravel-routing
Using Laravel Form class to add the 'disabled' attribute

Using Laravel 4's Form class, we can create a list using {{ @Form::select('colors', Colors::all()), $color }} Question: How can …

laravel laravel-4 blade
laravel blade, how to append to a section

If you look to laravel official documentation http://laravel.com/docs/4.2/templates It says that giving this layout: <!-- …

php laravel laravel-4 template-engine blade
Sending email with laravel, but doesn't recognize variable

I'm trying to send an email through Laravel, but I'm getting this error: Undefined variable: contactEmail Even though it got …

php email laravel laravel-4 undefined
Laravel route pass variable to controller

How do I pass a hard coded variable to a controller? My route is: Route::group(array('prefix' => $locale), …

php laravel laravel-4 laravel-routing