Demonstration of Laravel 5 Framework
Project on handle all contents: Movies - Categories - Cinemas - Acteurs - Réalisateurs
- Learn Documentation
- Learn MVC
- Apply Classes and OO
- Since Composer:
composer install
- Configure .env
php artisan db:seed
- Composer package:
composer create-project symfomany/laravelcinema
or just vendor withcomposer require symfomany/laravelcinema
- Manually, Get composer:
curl -sS https://getcomposer.org/installer | php
- Install the vendor
php compose.phar install
- Deploy your database in mysql/...sql
- Launch fixtures with php artisan db:seed
- Run the test with Phpunit
curl -O http://pear.phpunit.de/get/phpunit.phar
mv phpunit.phar /usr/local/bin/
-
The app directory, as you might expect, contains the core code of your application. We'll explore this directory in more detail soon.
-
The bootstrap directory contains a few files that bootstrap the framework and configure autoloading, as well as a cache directory that contains a few framework generated files for bootstrap performance optimization.
-
The config directory, as the name implies, contains all of your application's configuration files.
-
The database directory contains your database migration and seeds. If you wish, you may also use this directory to hold an SQLite database.
-
The public directory contains the front controller and your assets (images, JavaScript, CSS, etc.).
-
The resources directory contains your views, raw assets (LESS, SASS, CoffeeScript), and localization files.
-
The storage directory contains compiled Blade templates, file based sessions, file caches, and other files generated by the framework. This directory is segregated into app, framework, and logs directories. The app directory may be used to store any files utilized by your application. The framework directory is used to store framework generated files and caches. Finally, the logs directory contains your application's log files.
-
The tests directory contains your automated tests. An example PHPUnit is provided out of the box.
-
The vendor directory contains your Composer dependencies.
- Route nommées (updates)
- Route groupe