Download the PHP package droidevs/php-mvc-core without Composer
On this page you can find all versions of the php package droidevs/php-mvc-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-mvc-core
tc_php_mvc_core
A lightweight PHP MVC core / micro-framework for learning and building custom web apps.
Table of Contents
- Features
- Architecture
- Installation
- Usage
- Directory Structure
- Configuration
- Extending & Customization
- Contributing
- License
Features
- Simple routing (HTTP GET/POST)
- Controllers, Views, Models
- Request / Response abstraction
- Session & flash messaging
- Middleware support
- Basic form validation & exception handling
Architecture / Concepts
Follows MVC pattern:
- Model handles data and business logic
- View renders presentation
- Controller processes requests, interacts with models, returns responses
- Router maps URL paths to controller actions
- Middleware allows pre-/post-processing
Installation
`
Point your server’s document root to public (or route all requests to index.php). Use:
Usage
- Define routes
- Create controller classes extending
Controller - Create view templates in
views/ - Create models extending
Model - Visit endpoints in browser
Directory Structure
Configuration
Configure:
- Database
- Base URL / routing
- Error handling
- Middleware registration
- Autoloading
Extending & Customization
You can build on the core by adding:
- ORM enhancements
- Dependency injection / service container
- Advanced routing features
- More middleware (auth, CSRF, caching)
- Error & exception handling
Contributing
Contributions are welcome! Please open issues or PRs. Follow code style, document changes, and test where possible.
License
MIT License — see LICENSE
All versions of php-mvc-core with dependencies
PHP Build Version
Package Version
No informations.
The package droidevs/php-mvc-core contains the following files
Loading the files please wait ...