The Jengo Installer
The Jengo Installer (jengo new) is a powerful, interactive CLI tool designed to scaffold your entire application in seconds.
Interactive Mode
By default, running jengo new <app-name> triggers an interactive wizard. The wizard will ask you to select:
- Starter Kit: Choose between the Default PHP kit or modern SPAs (React, Vue, Svelte).
- Package Manager: Select
npm,pnpm, oryarn. - TypeScript: Decide if you want full TypeScript support (strongly recommended for SPAs).
- The Gatekeeper: Opt-in to install our CodeIgniter Shield auth integration.
- The Vault: Opt-in to establish our API foundation.
- Tailwind CSS: Decide if you want Tailwind installed and configured.
Non-Interactive Mode (CI/CD)
For automated setups or if you already know exactly what you want, you can pass your preferences directly via command-line flags. The installer will skip the prompts for any options provided.
Example: React SPA with Auth
bash
jengo new my-app --kit=react --auth --pm=pnpmAvailable Flags
--kit=<name>:default,react,vue, orsvelte.--auth: Installs the CodeIgniter Shield integration.--api: Installs the Jengo API suite.--ts: Installs TypeScript support and configurations.--no-tailwind: Skips Tailwind CSS installation.--pm=<manager>:npm,pnpm, oryarn.--force(-f): Overwrites the target directory if it already exists.
Current Directory Installation
If you've already created an empty directory and want to scaffold Jengo inside it, you can pass . as the application name:
bash
mkdir my-app
cd my-app
jengo new .The installer will automatically name your application based on the current folder's name.
