Laravel 4.2 is the previous version of the open-source PHP web development MVC framework created by Taylor Otwell.
Our entire site is to be served over https. I have 'https' in each route. However, how do I redirect …
laravel-4I need something like this: @if ($array.length > 0) {{-- expr --}} @endif is this possible? Solution! @if (count($array) &…
laravel laravel-4 laravel-bladeWhat is the difference between attach() and sync() in Laravel 4's Eloquent ORM? I've tried to look around but couldn't …
php laravel laravel-4 eloquent relationshipUsing Laravel 4.2, is it possible to assign a name to a resource controller route? My route is defined as follows: …
php laravel laravel-4Is it possible in Laravel 4.0 -blade-view to do an if statment like so? @if ($var1 === '1' OR $var2 === '1…
php if-statement view laravel-4 bladeHow can I set a unique constraints on two columns? class MyModel extends Migration { public function up() { Schema::create('storage_…
laravel-4 database-schemaI'm trying to filter the following collection using the collection filter() method: $collection = Word::all(); where the JSON output looks …
laravel laravel-4 eloquent