audithsoftworks / basis
Audith Basis on Laravel Framework
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 1
Open Issues: 1
Language:HTML
Type:project
Requires
- php: >=5.6.14
- ext-curl: *
- ext-mbstring: *
- ext-mcrypt: *
- ext-openssl: *
- barryvdh/laravel-ide-helper: ^2.2
- laravel/dusk: ^1.0.5
- laravel/framework: 5.4.*
- laravel/passport: ^2.0
- laravel/socialite: ^3.0
- laravel/tinker: ~1.0
- predis/predis: ~1
- rcrowe/twigbridge: ~0.9
Requires (Dev)
- ext-dom: *
- doctrine/dbal: ~2.5
- fzaninotto/faker: ~1.5
- mockery/mockery: 0.9.*
- phpspec/phpspec: ~3.0
- phpunit/phpcov: ^3.1
- phpunit/phpunit: ~5.7
- sauce/sausage: >=0.17
- symfony/css-selector: 3.1.*
- symfony/dom-crawler: 3.1.*
This package is not auto-updated.
Last update: 2020-11-17 11:58:38 UTC
README
Audith Basis is an enhanced version of Laravel framework, a feature list for which is provided below.
Features
- [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.
Installation
Setting up your Developer Environment
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/hosts
file to point to the primary container in your Docker configuration - generallyphp_XXX
is the primary container, which is linked tophp_XXX-fpm
and other machines. - Create
.env
file, 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
build.sh
file!):- Install Sauce Connect and start it as a daemon.
- Install NPM dependencies.
- Install
woff-2
and it's submodules; and build them (used to build custom web-fonts). - Install
css3-font-converter
package and build it (used to build custom web-fonts). - Clone/update
google-fonts
to 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,
chown
all 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.