Top "Laravel-4" questions

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

How to access model hasMany Relation with where condition?

I created a model Game using a condition / constraint for a relation as follows: class Game extends Eloquent { // many more …

laravel laravel-4 eloquent
Laravel Controller Subfolder routing

I'm new to Laravel. To try and keep my app organized I would like to put my controllers into subfolders …

laravel laravel-4 laravel-routing
Address in mailbox given [] does not comply with RFC 2822, 3.6.2. when email is in a variable

I have a correct email address. I have echoed it, but when I send it, I get the following error: …

php email laravel laravel-4 swiftmailer
Can I do Model->where('id', ARRAY) multiple where conditions?

The title says it all. I get that I can do this : DB::table('items')->where('something', 'value')…

php laravel laravel-4 laravel-5 where
Redirect to external URL with return in laravel

I am trying to send one time password to a user using SMS INDIA HUB API. For that purpose I …

php laravel laravel-4 sms-gateway
How to display errors on laravel 4?

I'm trying to create an app on Laravel 4 beta but I can't debug it because it doesn't show any error, …

debugging laravel error-reporting laravel-4
How do I pass a variable to the layout using Laravel' Blade templating?

In Laravel 4, my controller uses a Blade layout: class PagesController extends BaseController { protected $layout = 'layouts.master'; } The master layout has …

laravel laravel-4 blade
How to send data with angularjs $http.delete() request?

I have a resource 'roles' which has a many to many relationship with 'user'. To administer 'roles' I need to …

javascript angularjs laravel-4
Define the selected option with the old input in Laravel / Blade

I have this code: <select required="required" class="form-control" name="title"> <option></option> @foreach ($…

laravel laravel-4 blade
Using gmail smtp via Laravel: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

When I try to use GMail SMTP for sending email via Laravel, I encounter the following error: Swift_TransportException Connection …

laravel-4 smtp swiftmailer