Search by

sahilphp / installer

Idrisa24

SahilPHP Installer - Creates new SahilPHP projects with Tailwind CSS or Bootstrap 5

Package info

github.com/sahilphp/installer

pkg:composer/sahilphp/installer

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.0 2026-11-10 13:18 UTC

This package is not auto-updated.

Last update: 2026-11-10 13:23:12 UTC


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. The generated project exposes the public sahil executable at its root; framework command and generator implementations stay in the installed sahilphp/framework package.

cd my-app
php sahil
php sahil unda:controller UserController
php sahil migrate

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