syverum/installer
最新稳定版本:v1.4.0
Composer 安装命令:
composer create-project syverum/installer
包简介
CLI installer for Syverum framework projects.
README 文档
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.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-23