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 Fluent Query Builder Join with subquery

Okay after hours of research and still using DB::select I have to ask this question. Because I am about …

laravel laravel-4
Class Carbon\Carbon not found

I recently added a package to my Laravel 4 site and now anything that uses Eloquent (or at least Eloquent with …

php laravel-4 composer-php php-carbon
How to get domain root url in Laravel 4?

I'm ready to scream how hard can this be? I've been trying for too long. If I have http://www.…

url laravel-4 root
Laravel Escaping All HTML in Blade Template

I'm building a small CMS in Laravel and I tried to show the content (which is stored in the DB). …

php laravel laravel-4 laravel-blade
Using Laravel Homestead: 'no input file specified'

I am new to using Laravel, and Homestead, and would appreciate any help or a point in the right direction. …

laravel laravel-4 vagrant
First Or Create

I know using: User::firstOrCreate(array('name' => $input['name'], 'email' => $input['email'], 'password' => $input['password'])); Checks whether …

laravel laravel-4 eloquent
DB query builder toArray() laravel 4

I'm trying to convert a query to an array with the method toArray() but it doesn't work for the query …

laravel-4 query-builder
Laravel Pagination links not including other GET parameters

I am using Eloquent together with Laravel 4's Pagination class. Problem: When there are some GET parameters in the URL, …

pagination laravel laravel-4 eloquent blade
Laravel validation: exists with additional column condition - custom validation rule

Is there is a way of referencing another field when specifying the exists validation rule in Laravel? I want to …

php validation laravel laravel-4 laravel-validation
Change default primary key in Eloquent

Can I change Eloquent model primary key. I want to set primary key for example admin_id instead of 'id'? …

laravel-4 eloquent