Download the PHP package arkham-dev/framework without Composer
On this page you can find all versions of the php package arkham-dev/framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arkham-dev/framework
More information about arkham-dev/framework
Files in arkham-dev/framework
Package framework
Short Description A lightweight, modern PHP framework built from scratch with MVC architecture, database wizard, and powerful developer tools
License MIT
Homepage https://arkham-framework.dev
Informations about the package framework
Arkham PHP Framework
Arkham is a lightweight, modern PHP framework built from scratch following MVC architecture principles. It provides developers with essential tools for rapid web application development while maintaining simplicity and performance.
π Features
- MVC Architecture: Clean separation of concerns with Models, Views, and Controllers
- Database Wizard: Interactive setup wizard for database configuration and table creation
- Query Builder: Intuitive fluent interface for database operations
- Twig Integration: Powerful templating engine for dynamic views
- Fast Routing: High-performance routing system powered by FastRoute
- Multiple Database Support: MySQL, PostgreSQL, SQLite, and SQL Server
- Auto-Setup: Automatic framework initialization and configuration
- PHPUnit Testing: Built-in testing framework support
- Composer Ready: PSR-4 autoloading and Composer integration
π Requirements
- PHP 8.1 or higher
- Composer
- Web server (Apache, Nginx, or built-in PHP server)
- Database server (optional - SQLite works out of the box)
π§ Installation
Via Composer (Recommended)
Manual Installation
π Quick Start
1. Initial Setup
When you first visit your application, Arkham will automatically redirect you to the Database Setup Wizard:
The wizard will guide you through:
- Database connection configuration
- Database creation
- Table and field setup
- Configuration file generation
2. Create Your First Controller
3. Define Routes
Edit routes/web.php:
4. Create Views
Create views/welcome.html.twig:
ποΈ Database Operations
Using the Query Builder
Using Models
π Directory Structure
π― Advanced Features
Custom Middleware
Database Configuration
The framework supports multiple database drivers:
View Helpers
π§ͺ Testing
Run the test suite:
Example test:
π Documentation
Core Components
- Kernel: The heart of the framework, handles HTTP requests
- Router: Fast and flexible routing system
- Controllers: Handle business logic and return responses
- Models: Interact with database using Query Builder
- Views: Twig-powered templating system
- Database: Multi-driver database abstraction layer
Configuration
The framework automatically generates configuration files during setup. Manual configuration is also supported:
π€ Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Setup
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- FastRoute by Nikita Popov for routing
- Twig by Fabien Potencier for templating
- PHPUnit for testing framework
- The PHP community for inspiration and best practices
π Support
- Documentation: https://arkham-framework.dev
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: [email protected]
πΊοΈ Roadmap
- [ ] Session management
- [ ] Authentication system
- [ ] Cache layer
- [ ] CLI commands
- [ ] Migration system
- [ ] Event system
- [ ] API documentation generator
- [ ] Performance optimization tools
Arkham Framework - Building the future of PHP web development, one commit at a time.
Made with β€οΈ by the Arkham Team
All versions of framework with dependencies
nikic/fast-route Version ^1.3
twig/twig Version ^3.21
ext-pdo Version *
ext-json Version *