syverum / installer
CLI installer for Syverum framework projects.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/syverum/installer
Requires
- php: ^8.0
README
CLI to bootstrap new Syverum projects from the official skeleton.
Requirements
- PHP (CLI)
- Git
- Composer in PATH (
composerorcomposer.baton Windows) - Node.js + npm (optional, for frontend dependencies)
Install
composer global require syverum/installer
Usage
- Create a new project:
syverum new project-name
What the installer does
- Runs
composer installfor PHP dependencies - If
package.jsonexists, runsnpm install(falls back toyarn/pnpmif available). - Ensures the project
composer.jsonhas the script:composer run dev→php -S 127.0.0.1:3000 -t public
- Ensures
package.jsonhas Tailwind scripts if missing:npm run dev→npx @tailwindcss/cli -i ./resources/css/app.css -o ./public/css/output.css --watchnpm run build→ same command with--minify
Local development
- Start the PHP dev server on port 3000:
cd project-namecomposer run dev
Troubleshooting
- Composer not recognized: open a new terminal or use
composer.baton Windows. - Node/npm missing: frontend install is skipped; run it later and re-run Tailwind commands.
- Port 3000 busy: change the
devscript incomposer.json.