vigenphp / installer
The Vigen installer. `vigen create my-app` - like `laravel new`, but for Vigen.
Requires
- php: ^8.2
- symfony/console: ^7.0
- vigenphp/vigen: ^0.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The global Vigen installer - vigen create my-app, the same way laravel/installer gives you laravel new.
Install
composer global require vigenphp/installer
Make sure Composer's global vendor/bin directory is on your PATH (usually ~/.composer/vendor/bin or ~/.config/composer/vendor/bin):
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
Use
vigen create my-app
Answer three questions - interface (CLI/GUI), default AI provider, and model - and Vigen scaffolds a complete project: folder structure, composer.json, .env, and the project's own vigen entry point.
cd my-app composer install php vigen serve # if you chose GUI php vigen chat "Create a user management system" # if you chose CLI
The global vigen command only creates projects. Once inside one, all further work goes through the project's own ./vigen script - exactly like Laravel splits the global laravel binary from the per-project artisan.
Non-interactive use
For scripting or CI:
vigen create my-app --interface=cli --provider=ollama --model=qwen2.5-coder:14b