CLI tool for installing the Simpl PHP framework automatically using npx.
The installer is interactive: it prompts for a Simpl version, project name, and app URL. You can also provide the project name and app URL up front as optional positional arguments.
Create a new Simpl project by running the following command, change my-project to your desired project name:
npx @ijuantm/simpl-install my-projectOr run without arguments to be prompted for everything:
npx @ijuantm/simpl-installYou can also provide an app URL:
npx @ijuantm/simpl-install my-project https://example.comThe installer will:
- Fetch the available Simpl versions
- Prompt for the version, project name, and app URL
- Download and extract the selected framework release
- Set up all necessary files and folders
npx @ijuantm/simpl-install --helpTo list available versions:
npx @ijuantm/simpl-install --list-versionsTo force local release files when available:
npx @ijuantm/simpl-install --localAfter the installation completes, run the following commands:
cd my-project
composer install && npm installFor more details, see the README file in the project directory, or in the documentation.
Once your framework is installed, you can add functionality with add-ons, for example, to install the "auth" add-on:
npx @ijuantm/simpl-addon authSee available add-ons:
npx @ijuantm/simpl-addon --list, -lv- Node.js: >= 22.x.x
- PHP: >= 8.5.x
- Composer: Latest version