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: 10

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.6 2026-10-29 23:56 UTC

This package is not auto-updated.

Last update: 2026-10-30 19:06:32 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.

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