Le7-framework is a lightweight PHP 8 MVC framework designed for building web, REST API, and CLI applications effortlessly. It supports multilingual content, various template engines, and extensible themes. With its simple dependency injection and robust routing, creating complex applications becomes straightforward, with flexibility in caching and validation.
Le7 Framework is a minimalistic PHP MVC framework designed for creating Web, REST API, and CLI applications. This repository serves as a skeleton for developers to build applications with ease using PHP 8.
Key Features
- Multilingual Support: Every page can be displayed in multiple languages based on configuration.
- Template Engine Flexibility: Easily switch between various template engines such as Twig, Smarty, or use plain PHP as needed.
- Theme Support: Offers a framework for extensible design through themes.
- Modular Controllers: Organize controllers into different route groups and namespaces for better structure.
- Extensible Functionality: Framework functionality can be easily extended to meet custom requirements.
- Validation Frameworks: Use built-in data providers for validating arrays and forms with ease.
- Adheres to PSR Standards: Support for caching, events, messaging, middleware, and request handling, conforming to PHP-FIG standards.
- Customizable Components: Swap out components like logging, caching, and template engines effortlessly.
- Dependency Injection: Utilize dependency injection with an easy-to-understand configuration.
- Security Features: Incorporates CSRF protection for sensitive methods (POST, PUT, PATCH, DELETE) and supports custom session handling.
- Simple Routing: Routing structure is streamlined for ease-of-use.
Upcoming Features
The framework's development roadmap includes:
- Comprehensive testing framework
- Core documentation
- Database management package
- User management package
Requirements
To use Le7 Framework, the following requirements must be met:
- PHP 8.1 or higher
- Apache or Nginx web server (capable of running on Workerman with static content considerations)
Contribution
Developers interested in contributing to this open-source project are encouraged to explore the repository and join the growing community of contributors.
For more detailed information regarding the functionality of Le7 Framework, developers can refer to the README.md file located within the project directory.
Comments
0Start the conversation
Share the first comment.