Top "Laravel-4" questions

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

Global variable in laravel 4

I was wondering how to do a global variable to save me few lines of copy and pasting this lines. …

php variables laravel laravel-4 global
Gmail locks account when sending mail via Laravel

When I try to send an e-mail through my website running Laravel 4, I get this exception: Expected response code 250 but …

laravel-4 smtp gmail swiftmailer
Schema Builder length of an integer

I've been searching around and the question was asked a few times, but no-one seem to be able to give …

laravel-4 database-schema
Eloquent relations - attach (but don't save) to Has Many

I have the following relations set up: class Page { public function comments() { return $this->hasMany('Comment'); } } class Comment { public …

laravel laravel-4 eloquent relationship
Unexpected data found during save on eloquent / Laravel

I have one more field on the database over the created_at and updated_at as TIMESTAMP the field name …

php laravel-4 eloquent php-carbon
Using HTML Placeholder in Laravel 4

{{ Form::text('username', Input::old('username')) }} This is my code, I want to add Username as placeholder in the text …

laravel laravel-4 placeholder
Laravel - How to use a vendor class?

I want to use Mobile Detect on m routes.php file. I have added the package as a require in …

php class laravel laravel-4 vendor
Laravel 4 - when to use service providers?

I tried to google it but did not find detailed information. Service providers are a great way to group related …

laravel laravel-4 service-provider
Laravel 4 how to apply title and meta information to each page with blade master page

Trying to apply an individual title and meta description to my websites pages, but I'm not sure if the way …

php html laravel laravel-4 blade
How to autoload Guzzle in Laravel 4?

How can I autoload Guzzle in Laravel 4? I am encountering the following error when I try to create a new …

php laravel laravel-4 composer-php guzzle