uvarovserge / larahex
Quickly sets up a new Laravel project with additional things I usually need
1.0
2021-07-31 22:34 UTC
Requires
- php: ^7.3
README
Quickly sets up a new Laravel project with all the things I usually need. Among them:
- Replaces Blade with Twig as the templating engine
- Makes
./artisanexecutable - Removes Vue.js/Lodash scaffolding, but leaves Twitter Bootstrap on
- Injects authentication (
artisan make:auth) - Adds packages:
- doctrine/dbal
- litipk/php-bignumbers
- Adds
app/helpers.phpandapp/precision_helpers.php - Creates
app/Modelsdirectory and movesUsermodel there - Adds
User::this()as an alias forAuth::user() - Performs
npm installat the end
Take a look at larahex to see full functionality
Usage
Install it with: composer global require uvarovserge/larahex
Usage: larahex your_project_name. In your current directory a folder with this name will be created, which will contain the project code.
Upgrade to the latest version with: composer global update composer global require uvarovserge/larahex