Now Forge compatible out of the box.
Only settings required are two environment variables: db_name and db_password which you will have in your provisioning email. You will still need to run steps 4 & 5 below but other than that it will be up and running a matter of clicks straight from this repo.
This is a basic example application using laracasts.com series Digging In - which is a great start to Laravel development (check it out!).
I have taken the example a little further, and included some ajax goodness as well as taking advantage of Laravel soft deletes. I have also simplified the application, styled it a little further and made it just a list of todos, with no user filtering.
Example working version of the app is here: laraveltodoapp.csoutham.com.
To get setup you'll need to clone this repo then...
- Run "composer update"
- Create a database called "laravel-todo-app"
- Update the database configuration in "app/config/database.php" to match your MySQL details
- Run "php artisan migrate" to create the tasks and users tables
- Add a user to your users table in MySQL, password isn't important at this time
- Finally start the server using "php artisan serve"
Please let me know any issues, I can't make any promises - this is just test code really and a basic application, mostly thanks to Jeffrey Way of Laracasts.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code. To this end, we've attempted to combine the very best of what we have seen in other web frameworks, including frameworks implemented in other languages, such as Ruby on Rails, ASP.NET MVC, and Sinatra.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the entire framework can be found on the Laravel website.
All issues and pull requests should be filed on the laravel/framework repository.
The Laravel framework is open-sourced software licensed under the MIT license