Package Data | |
---|---|
Maintainer Username: | ZiperRom1 |
Package Create Date: | 2016-07-16 |
Package Last Update: | 2016-07-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:04:11 |
Package Statistics | |
---|---|
Total Downloads: | 8 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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, queueing, and caching.
Laravel is accessible, yet powerful, providing 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 framework can be found on the Laravel website.
This project is based on the Laravel5 framework. The boilerplate which was added to the initial laravel structure is composed by several front usefull tools listed below.
To add a library, add it into bower.json
file and into public/js/app.config.js => paths
.
Then set js / sass / fonts required files for your new external lib into paths
const declaration L.24 in gulp.babel.js
Then run gulp bower
and voilà, your lib is ready to be used !
All js vendors files are imported in public/js/vendors
directory.
All scss vendors files are imported in resources/assets/sass/vendors
directory.
All fonts vendors files are imported in resources/assets/fonts
directory.
Note: To use an es6 module, add es6!your-es6-module
in your require|define call
Gulp is used to automatize tasks, using nodeJs to process files.
Laravel uses a tool called elixir which is basically a wrapper for gulp to quickly process basic tasks.
I decided to overwrite this tool and using directly a pure gulp 4 implementation with a nice es6 syntax while elixir is based on gulp 3.
Gulp tasks:
All dependencies must be listed in paths
const declaration L.24.
The sass integration is pretty simple here. A main resources/assets/sass/app.scss
is used to required all sass dependencies.
This file is compiled using sass pre-processor and generate a unique public/dist/style.css
file for all you app with the command gulp sassDev
or gulp sassProd
(without sources map).
You can add as much custom .scss files as you want in resources/assets/sass
directory, be sure to add those files in the main resources/assets/sass/app.scss
file.
Natively eslint:all
is set in the .eslintrc.json
file which can be edited to add / remove js lint rules.
The jsdoc is automaticaly generated in storage/app/public/jsDoc
directory with the commande gulp jsdoc
.
ink-docstrap theme is used to generate the documentation.
Jsdoc parameters can be edited in jsdocConfig.json
file.