@ijuantm/simpl-install
v2.9.0
Published
CLI tool to install the Simpl PHP framework.
Maintainers
Readme
Simpl Installer
CLI tool for installing the Simpl PHP framework with npx.
What it does
- Downloads the selected Simpl release
- Creates a new project directory
- Replaces framework placeholders such as the app name, app URL, and host
- Prints the next steps after installation
Usage
Run the installer with no arguments to be prompted for everything:
npx @ijuantm/simpl-installOr provide the project name up front:
npx @ijuantm/simpl-install my-projectYou can also pass explicit options:
npx @ijuantm/simpl-install my-project --version=latest --url=https://example.comThe first non-flag argument is treated as the project name. If you do not pass --name, the installer will ask for it interactively.
Available options
| Option | Description |
|------------------------------|--------------------------------------------------------------------|
| --version=<v>, -v=<v> | Framework version to install. Use latest for the newest release. |
| --name=<name>, -n=<name> | Project name. |
| --url=<url>, -u=<url> | App URL. Must start with http:// or https://. |
| --list-versions, -lv | List all available versions. |
| --help, -h | Show the help message. |
Helpful commands
List available versions:
npx @ijuantm/simpl-install --list-versionsShow help:
npx @ijuantm/simpl-install --helpAfter installation
cd my-project
composer install && npm installThen point your web server or local host configuration to the public directory and start developing with:
npm run devFor more details, see the README in the generated project directory or the documentation.
Add-ons
After installing the framework, you can install add-ons with:
npx @ijuantm/simpl-addon --addon=<name>To list available add-ons:
npx @ijuantm/simpl-addon --listRequirements
- Node.js: >= 22
- PHP: >= 8.5.x
- Composer: latest version
