Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony.
Given the following code: DB::table('users')->get(); I want to get the raw SQL query string that …
php sql laravel laravel-4 laravel-query-builderI'm using the Laravel Eloquent query builder and I have a query where I want a WHERE clause on multiple …
php laravel eloquent laravel-query-builderWhat is the correct way to remove a package from Laravel using composer? So far I've tried: Remove declaration from …
laravel laravel-4 package composer-php uninstallationI am new to Laravel. Please excuse the newbie question but how do I find if a record exists? $user = …
php laravel laravel-5 eloquent conditionalSimple question, but the answer seems quite hard to come by. In Codeigniter, I could load the url helper and …
php laravel base-urlI am trying to redirect to the previous page with a message when there is a fatal error. App::fatal(…
laravel laravel-5 laravel-4When trying to create a new laravel project, The following error appears on the CLI: Could not open input file: …
php laravel laravel-4 laravel-artisanI can't figure out how to add a new column to my existing database table using the Laravel framework. I …
php laravel laravel-4 laravel-migrations