uvarovserge / larahex
Quickly sets up a new Laravel project with additional things I usually need
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/uvarovserge/larahex
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