omegamvc / php-library
library to build php mvc
Requires
- php: ^8.3
- ext-intl: *
- ext-mbstring: *
- php-di/php-di: ^7.0.0
- wixel/gump: ^v2.2.0
README
Documentation | Changelog | Contributing | Code Of Conduct | License
About Omega Framework
Omega Framework is a lightweight, modular, and highly extensible PHP framework designed to streamline the development of modern web applications. Built around the principles of the MVC architecture (Model-View-Controller), Omega provides a solid foundation for rapid application development, all while ensuring clean, well-organized code.
Focused on simplicity, performance, and scalability, Omega Framework equips developers with the necessary tools to build scalable and maintainable web solutions. Whether you're working on a small project or a large enterprise application, Omega offers the flexibility to grow with your needs.
Key Features
- Lightweight & Modular: Add only what you need with minimal overhead.
- MVC Architecture: Enforce clean separation of concerns for maintainable code.
- Routing System: Flexible and easy-to-use routing for handling requests.
- Dependency Injection: Simplify object management and testing.
- Extensible: Easily extend functionality with a plugin system or custom modules.
- Optimized for Performance: Crafted with speed and scalability in mind.
- Database Integration: Built-in ORM for seamless database operations.
Documentation
Package Name | Description | Read |
---|---|---|
Application |
Handles the core lifecycle and bootstrapping of the framework. | N/A |
Cache |
Provides a unified interface for various caching drivers. | N/A |
Collection |
Offers a fluent, convenient wrapper for working with arrays of data. | 📖 |
Container |
Manages dependency injection and service resolution. | N/A |
Cron |
Schedules and executes periodic tasks using defined intervals. | N/A |
Console |
Provides tools to define and run CLI commands within the application. | 📖 |
Database |
Provides a database abstraction, CRUD operations, and a QueryBuilder. | 📖 |
File |
Provides utilities for file handling and filesystem interactions. | N/A |
Http |
Manages HTTP requests, responses, and headers. | N/A |
Macroable |
Adds macro support to classes, enabling dynamic method registration. | N/A |
Router |
Maps incoming HTTP requests to controller actions or callbacks. | N/A |
Security |
Offers basic tools for data encryption, hashing, and input sanitization. | N/A |
Serializable Closure |
Enables the serialization of closures in a secure and portable way. | N/A |
Support
| Contains helper classes and general-purpose utility functions. | N/A |
Template |
Handles template compilation and dynamic content injection. | N/A |
Text |
Provides methods to manipulate strings. | 📖 |
Time |
Provides utilities for date, time, and duration manipulation. | N/A |
Validator |
Provides a flexible and extensible validation system for input data. | 📖 |
View |
Manages the rendering of templates and passing of view data. | N/A |
Contributing
If you'd like to contribute to the Omega framework, please follow our contribution guidelines.
License
This project is open-source software licensed under the GNU General Public License v3.0.