Top "Laravel" questions

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.

Laravel 5 - redirect to HTTPS

Working on my first Laravel 5 project and not sure where or how to place logic to force HTTPS on my …

php laravel laravel-routing laravel-5
Laravel 5 Clear Views Cache

I notice that Laravel cache views are stored in ~/storage/framework/views. Over time, they get to eat up my …

php caching laravel laravel-5 laravel-artisan
Trying to get Laravel 5 email to work

I'm trying to send an email to a specified user by typing in the URL, but I'm getting the following …

php laravel laravel-5 email-integration
How Can I Remove “public/index.php” in the URL Generated Laravel?

I need to remove index.php or public/index.php from the generated URL in Laravel; commonly path is localhost/…

php .htaccess laravel laravel-4 laravel-routing
How to clear Laravel route caching on server

This is regarding route cache on localhost About Localhost I have 2 routes in my route.php file. Both are working …

laravel laravel-routing
Laravel PHP Command Not Found

I have installed Laravel using composer without problems, but when I try to execute "laravel" in my terminal I have …

php bash laravel
Select all from table with Laravel and Eloquent

I am using Laravel 4 to set up my first model to pull all the rows from a table called posts. …

php mysql laravel laravel-4 eloquent
Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Migration error on Laravel 5.4 with php artisan make:auth [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key …

mysql laravel pdo laravel-5 laravel-5.4
How to use multiple databases in Laravel

I want to combine multiple databases in my system. Most of the time the database is MySQL; but it may …

php mysql database laravel
How to use Select2 with JSON via Ajax request?

My Select2 3.4.5 is not working with JSON data. Here is my input box on HTML: <input class='form-control col-lg-5 …

javascript json laravel jquery-select2