A global installer for CakePHP 5 applications and starter kits. This tool allows you to quickly create new CakePHP applications with optional starter kits that include pre-configured database settings, email configurations, and migrations.
Install globally via Composer:
composer global require saicosys/cakephp-installerMake sure your global Composer bin directory is in your PATH. You can find it by running:
composer global config bin-dir --absoluteCreate a new CakePHP application:
cakephp new my-appThis will create a basic CakePHP 5 application in the my-app directory.
When you run the command without specifying a starter kit, you'll be prompted to choose:
cakephp new my-appYou'll see options like:
- Manual installation (basic CakePHP)
- Use a starter kit
You can directly specify a starter kit:
cakephp new my-app --starter-kit=blogAvailable starter kits:
simple- CakePHP 5 + TailwindCSS starter kitsaas- CakePHP 5 + SAAS + TailwindCSS + Alpinejsreact- CakePHP 5 + React + TailwindCSS starter kit (Coming soon)next- CakePHP 5 + Next + TailwindCSS starter kit (Coming soon)api- CakePHP 5 + API starter kit (Coming soon)cms- CakePHP 5 + TailwindCSS + CMS starter kit (Coming soon)
To overwrite an existing directory:
cakephp new my-app --forceA clean and simple CakePHP 5 starter kit with TailwindCSS for building modern web applications.
Features:
- CakePHP 5 with modern PHP features
- TailwindCSS for rapid UI development
- User authentication and authorization
- Clean, responsive design
- Mobile-first approach
A comprehensive starter kit for building Software-as-a-Service applications.
Features:
- CakePHP 5 with robust backend features
- TailwindCSS + Alpine.js for modern frontend
- Multi-tenant architecture ready
- Authentication and authorization
- CRUD operations with friendsofcake/crud
- Professional SAAS interface
- Subscription and billing models
A modern starter kit combining CakePHP 5 backend with React frontend.
Features:
- CakePHP 5 API backend
- React frontend with TailwindCSS
- Modern SPA architecture
- API-first design
- Component-based UI
A full-stack starter kit with CakePHP 5 and Next.js.
Features:
- CakePHP 5 backend API
- Next.js frontend with TailwindCSS
- Server-side rendering
- API routes integration
- Modern React patterns
A dedicated API starter kit for building RESTful services.
Features:
- CakePHP 5 API structure
- JWT authentication
- RESTful design patterns
- API documentation
- Rate limiting and security
A content management system starter kit.
Features:
- CakePHP 5 with content management
- TailwindCSS for admin interface
- Content editing and publishing
- Media management
- SEO optimization tools
When using a starter kit, the installer will guide you through:
-
Database Configuration
- Database host, name, username, and password
- Automatic configuration file generation
-
Email Configuration
- SMTP settings for notifications
- Email transport configuration
-
Migrations
- Automatic database table creation
- Initial data seeding
- PHP 8.1 or higher
- Composer
- Symfony Console components
- Clone the repository
- Install dependencies:
composer install - Make the binary executable:
chmod +x bin/cakephp - Run locally:
php bin/cakephp new test
composer test- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
For support and questions:
- Create an issue on GitHub
- Check the CakePHP documentation
- Join the community
This project is licensed under the MIT License - see the LICENSE file for details.