Download the PHP package miniframework/installer without Composer
On this page you can find all versions of the php package miniframework/installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package installer
MiniFramework PHP Global Installer
Global command-line installer for creating new MiniFramework PHP projects from anywhere.
⚡ Laravel-style project creation: Create new MiniFramework projects with a single command, just like
laravel new!
Installation
Global Installation via Composer
Make sure your global Composer bin directory is in your PATH:
Manual Installation
Usage
Create a New Project
Available Commands
Options
| Option | Description |
|---|---|
--path=PATH |
Custom path for the project (default: current directory + project name) |
--namespace=NAMESPACE |
Custom namespace (default: generated from project name) |
--description=DESC |
Project description |
--force |
Overwrite existing directory |
--no-git |
Skip Git repository initialization |
--no-install |
Skip dependency installation |
--dev |
Install development dependencies |
Examples
Create a REST API
Create a Web Application
Create a Microservice
What Gets Created
The installer creates a complete MiniFramework PHP project with:
✅ Project Structure
- Complete DDD/Clean Architecture structure
- All necessary directories with
.gitkeepfiles - Proper PSR-4 autoloading configuration
✅ Configuration Files
composer.jsonwith updated namespace and project info.env.examplewith all configuration options.gitignorewith appropriate exclusions
✅ Customization
- Updated namespaces throughout the codebase
- Personalized README.md with project-specific instructions
- Custom package name and description
✅ Development Tools
- Git repository initialized (unless
--no-git) - Dependencies installed (unless
--no-install) - Ready-to-use CLI commands
- Development server ready to start
Framework Features
Each created project includes:
- Domain-Driven Design architecture
- Clean Architecture principles
- Dependency Injection container with autowiring
- Advanced Routing with attributes and parameters
- Middleware Pipeline (PSR-15 compatible)
- Rate Limiting with multiple backends
- CSRF Protection for forms and AJAX
- JWT Authentication with refresh tokens
- File Upload System with validation
- Template Engine with layouts and components
- Database Migrations and seeders
- CLI Commands for development
Post-Creation Steps
After creating a project:
Requirements
- PHP 8.4+
- Composer
- cURL extension (for downloading framework)
- ZIP extension (for extracting framework)
- Git (optional, for repository initialization)
Troubleshooting
Command not found
Make sure the global Composer bin directory is in your PATH:
Permission denied
Make the script executable:
Download failed
The installer will try Git first, then fall back to ZIP download. Make sure you have either:
- Git installed and available in PATH
- cURL and ZIP extensions enabled
Force overwrite
Use --force to overwrite existing directories:
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
This installer is open-sourced software licensed under the MIT license.