refynd / cli
Command line interface for the Refynd PHP framework
1.0.1
2025-08-01 18:29 UTC
Requires
- php: ^8.2
- refynd/framework: ^1.1
- symfony/console: ^7.0
- symfony/filesystem: ^7.0
- symfony/process: ^7.0
- twig/twig: ^3.0
Requires (Dev)
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^11.0
README
The official command-line interface for the Refynd PHP framework.
Installation
Install globally via Composer:
composer global require refynd/cli
Make sure your global Composer bin directory is in your PATH.
Available Commands
Project Creation
refynd new my-app # Create new API application refynd new my-app --template=webapp # Create web application
Code Generation
refynd make:controller UserController # Basic controller refynd make:controller UserController --resource # Resource controller refynd make:controller ApiController --api # API controller refynd make:model User # Model class refynd make:middleware AuthMiddleware # Middleware class
Development
refynd serve # Start development server refynd serve --port=8080 # Custom port refynd serve --host=0.0.0.0 # Custom host refynd test # Run tests refynd test --coverage # With coverage refynd test --filter=UserTest # Filter tests
Templates
API Template
- REST API structure
- Example controllers and routes
- Database configuration
- Testing setup
Web App Template (Coming Soon)
- Full-stack web application
- View templates
- Asset compilation
- Authentication scaffolding
Requirements
- PHP 8.2 or higher
- Composer
- Refynd Framework ^2.0
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
The Refynd CLI is open-sourced software licensed under the MIT license.