Top "Laravel-4" questions

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

Consuming my own Laravel API

I'm developing a Laravel 4 app that will make the same CRUD operations on my dataset available through a JSON REST …

php api rest laravel laravel-4
Handling data response from $resource in angular js

I have a RESTful application with Laravel 4 and Angular JS. In my Laravel Controller, public function index() { $careers = Career::paginate( $…

angularjs laravel laravel-4 angularjs-scope angular-resource
Required_if laravel with multiple value

I have a dropdown menu like this: <select name="selection"> <option value="1">Option 1</option> &…

php validation laravel laravel-4 controller
Timestamps are not updating while attaching data in pivot table

I'm creating a row in pivot table using the following attach statement. $music = Music::find(1); $music->users()->…

laravel laravel-4 eloquent
Laravel: Run migrations on another database

In my app every user has its own database that created when user registered. Connection and database data (database name, …

laravel laravel-4 database-migration multi-tenant
Laravel Carbon get start + end of current week

I am working with Laravel 4 on a tool to publish/schedule restaurant menus on facebook. For this I need a …

php laravel laravel-4 php-carbon
SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias on relationship

So, I'm receiving the following error from Laravel framework; but I couldn't find why this framework is producing this error: …

mysql laravel eloquent laravel-4 relationship
Laravel: Difference App::bind and App::singleton

I get a bit confused over all the nice things laravel has to offer in terms of the IOC container …

php oop laravel-4 ioc-container facade
Laravel 4 Blade @include variable

I was trying to do include with Laravel blade, but the problem is it can't pass the variable. Here's my …

php laravel-4 blade
Managing relationships in Laravel, adhering to the repository pattern

While creating an app in Laravel 4 after reading T. Otwell's book on good design patterns in Laravel I found myself …

oop laravel laravel-4 repository-pattern eloquent