Install SiroPHP
Get a production-ready PHP API framework running in under a minute.
Quick Install (One Command)
curl -sS https://sirophp.com/downloads/install.sh | bash
Paste into Terminal
Download PHAR
The standalone PHAR binary includes the runtime manager and project scaffolding.
Checksums:
SHA256: (available on GitHub release page)
MD5: (available on GitHub release page)
System Requirements
Required
- ✓PHP 8.2 or higher
- ✓ext-pdo (any driver: MySQL, PostgreSQL, SQLite)
- ✓ext-json
- ✓ext-mbstring
Optional but Recommended
- ◇ext-openssl (JWT auth, encryption)
- ◇ext-curl (HTTP client)
- ◇ext-redis (Redis cache driver)
- ◇ext-fileinfo (file upload validation)
What's Next?
Create a Project
Run "siro new my-api" or "composer create-project sirosoft/api my-app" to scaffold a new API skeleton.
Build Your First CRUD
Run "php siro make:crud products" to generate model, migration, controller, and routes in 2 seconds.
Start the Dev Server
Run "php siro serve" and open http://localhost:8080. Your API is live.
Troubleshooting
PowerShell execution policy
If you see a security error, run: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
"composer" not found
Install Composer from getcomposer.org, or use the one-liner installer above which bundles a PHP runtime.
Port 8080 already in use
Use a different port: php siro serve --port=8081