Audith Basis on Laravel Framework
Audith Basis is an enhanced version of Laravel framework, a feature list for which is provided below.
- [Back-end] Completely localized routes - access your endpoints and URLs in your own language, with Unicode support.
- [Front-end/UI] Back-end control panel - comes with built-in control panel, featuring sample pages for you to expand upon.
- [Front-end/UI] Custom web-fonts, web typography support - build and use your own web-fonts with included toolset, from any TTF/OTF fontsets.
- [Front-end/UI] Webpack support - build all web assets with Webpack.
- [DevOps/CI/CD] Docker support - fully Dockerized package with pre-built PHP 5.6 and 7.0 containers.
I have included a build script in
./storage/scripts/dev-env/build.sh inside of which you can see steps necessary to spin up desired Docker configuration and prepare your development environment. Steps involved are:
- Build or pull necessary Docker containers.
- Start your desired Docker-Compose configuration (any of: PHP 5.6 or 7.0).
- Update your
/etc/hostsfile to point to the primary container in your Docker configuration - generally
php_XXXis the primary container, which is linked to
php_XXX-fpmand other machines.
.envfile, containing your environmental variables.
- Switch into the primary container environment, to start building your environment (Note: before doing so, please read the important note in
- Install Sauce Connect and start it as a daemon.
- Install NPM dependencies.
woff-2and it's submodules; and build them (used to build custom web-fonts).
css3-font-converterpackage and build it (used to build custom web-fonts).
google-fontsto local storage, copy required font files and build your web-fonts.
- Run Webpack to build web assets.
- Install Composer dependencies.
- Using Laravel Artisan, generate an encryption key and run migrations, install Laravel Passport keys.
- Since Docker runs with root privileges,
chownall newly created files to your host machine UUID:GUID (assuming it is 1000:1000, modify if necessary).
- And finally, run all the tests.
Additionally, I've included few commands to shut down Docker-Compose configuration and cleanup your host machine from unnecessary Docker assets.