sahilphp / installer
SahilPHP Installer - Creates new SahilPHP projects with Tailwind CSS or Bootstrap 5
v1.0.6
2026-10-29 23:56 UTC
Requires
- php: ^8.4
- sahilphp/framework: ^1.0
- symfony/console: ^7.2|^8.0
- symfony/filesystem: ^7.2|^8.0
- symfony/process: ^7.2|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The Composer-installed CLI for creating SahilPHP projects.
Installation
composer global require sahilphp/installer
Make sure Composer's global bin directory (composer global config bin-dir --absolute)
is on your PATH, so the sahilphp executable is found.
Commands
sahilphp doctor
Checks that the machine can run SahilPHP and create projects:
- the PHP version (8.4 or newer) and the required PHP extensions
(
curl,fileinfo,mbstring,openssl); - Composer, and the optional frontend tooling Node.js/npm and git;
- whether the current directory is writable.
Each check prints one actionable line. The command exits with status 1 when a
required check fails and with status 0 otherwise; missing optional tools are
reported as warnings. No credentials or environment secrets are printed.
sahilphp new
Creates a new SahilPHP project in the current directory.
sahilphp list, sahilphp --help
List the available commands and their options.
Development
composer install composer test # phpunit composer lint # php -l over src and tests