garavel
v2.0.1
Published
Interactive Laravel project scaffolder — creates the app, wires the database, and installs the packages you actually use.
Maintainers
Readme
garavel
Interactive Laravel project scaffolder. Creates the app, wires the database into .env, and installs the packages you actually use.
npx garavelNo global install, no Yeoman. Requires Node >= 20, plus php and composer on your PATH.
What it asks
- Project name — the directory to create
- Laravel version — fetched live from Packagist, so the list never goes stale
- Database — SQLite, MySQL/MariaDB, or PostgreSQL; the name you give is written into
.env - API authentication — Sanctum, Passport, JWT, or none
- Spatie packages — permission, medialibrary, activitylog, settings, backup, query-builder, data
- Dev tooling — debugbar, ide-helper, larastan, Pest, Sail
Anything with a service provider gets its vendor:publish run automatically. On Laravel 11+, Sanctum and Passport go through php artisan install:api.
Upgrading from generator-garavel
generator-garavel was a Yeoman generator and is deprecated. This replaces it:
npm rm -g yo generator-garavel
npx garavelBehaviour that changed:
- The database name you type is now actually written to
.env— the old generator prompted for it and dropped it. vendor:publishnow works. The old version passed PHP namespaces through a JS string that ate the backslashes, so every publish silently did nothing.- Laravel version choices come from Packagist instead of a hardcoded
5.5/5.6list.
Development
npm testLicense
MIT © Abdullah Ghanem
