unoforge / flexi-core
Core logic for Flexi CLI
1.1.2
2026-04-10 19:47 UTC
Requires
- php: ^8.3
- laravel/prompts: ^0.3.10
- symfony/http-client: ^7.3 || ^8.0
- symfony/process: ^7.3 || ^8.0
- symfony/yaml: ^7.3 || ^8.0
README
packages/core contains shared application logic used by both CLI distributions.
Scope
- Namespace:
FlexiCore\\ - Shared domain and infrastructure logic only:
src/Core/(config, registries, generation helpers)src/Service/(framework detection, setup logic, theming helpers)src/Installer/(composer/node installers)src/Utils/(file/http helpers)src/Libs/(orchestration helpers)stubs/(template assets)
Non-Goals
packages/core must not contain CLI presentation/UI layers:
- No Symfony Console command classes (
Symfony\\Component\\Console\\Command\\*) - No Laravel Artisan command classes (
Illuminate\\Console\\Command) - No CLI argument parsing concerns (options/arguments/signatures)
Those belong to:
packages/clifor the Symfony Console distributionpackages/laravelfor the Laravel Artisan distribution
Dependency Boundary
Core may depend on reusable runtime libraries (yaml, process, http client, prompts), but must stay command-framework agnostic.
Consumers
unoforge/flexi-cliunoforge/flexi-laravel