Top "Laravel-3" questions

Laravel 3 is the outdated version of the open-source framework for PHP web development created by Taylor Otwell.

Convert laravel object to array

Laravel output: Array ( [0] = stdClass Object ( [ID] = 5 ) [1] = stdClass Object ( [ID] = 4 ) ) I want to convert this into normal array. Just want to …

php arrays laravel laravel-4 laravel-3
Laravel - Pass more than one variable to view

I have this site and one of its pages creates a simple list of people from the database. I need …

php laravel laravel-3
My Routes are Returning a 404, How can I Fix Them?

I've just started learning the Laravel framework and I'm having an issue with routing. The only route that's working is …

php laravel routing laravel-routing laravel-3
Laravel - Using (:any?) wildcard for ALL routes?

I am having a bit of trouble with the routing. I'm working on a CMS, and i need two primary …

php laravel routing wildcard laravel-3
Laravel validation attributes "nice names"

I'm trying to use the validation attributes in "language > {language} > validation.php", to replace the :attribute name (input …

php laravel multilingual laravel-3
How to retrieve a result set from a raw query as an array instead of an object in Laravel 3

By default, Laravel's raw query methods return results as arrays of stdClass objects: Array ( [0] => stdClass Object ( [id] => 1 [username] =&…

php laravel laravel-3
How to use SQL Server connection in Laravel?

I got a working project made in Laravel 3 that I have to switch to MsSQL Server (not my call though, …

php laravel laravel-4 laravel-3
How to set every row to the same value with Laravel's Eloquent/Fluent?

I need to update all of the rows in a database so that a particular field in all of them …

laravel eloquent fluent laravel-3
Laravel query builder with AND in query

I want to add an "AND" clause to the end of a query builder, the code looks like this: $orderers = …

php laravel-3
Array to String to Array conversion

I have an array that I'm storing as a string in a database to make it easier to retrieve (it's …

php mysql arrays string laravel-3