adrjmiranda/streamline-php
最新稳定版本:1.1.3
Composer 安装命令:
composer create-project adrjmiranda/streamline-php
包简介
StreamlinePHP is a lightweight, modular PHP framework that follows the MVC architecture, focusing on simplicity and efficiency for building modern web applications. With intuitive routing, controller management, a customizable templating system, and essential security features, StreamlinePHP provide
README 文档
README
StreamlinePHP is a minimalist and modular framework built in pure PHP, designed to provide a lightweight yet solid foundation for modern web application development. With a focus on simplicity and efficiency, StreamlinePHP offers essential features like routing, controller management, database integration, templating system, and middleware support, allowing for a flexible and easily extensible MVC architecture.
Ideal for developers seeking complete control over application flow, StreamlinePHP balances simplicity and functionality, enabling you to build scalable and secure applications quickly and without unnecessary overhead.
Instalação
To get started with Streamline PHP, you can install it directly with Composer:
composer create-project adrjmiranda/streamline-php
StreamlinePHP is the perfect choice for those who value efficiency and flexibility in a pure PHP environment.
Features
Streamline PHP currently offers the following systems and tools:
- Route System
- Template System
- Session Management
- Cache System
- Log System
- Validations
- Middleware
- Query Builder with Database
Each of these features is detailed in the project's Wiki.
Exemplo Básico
Here is an example of basic usage of the framework:
<?php require_once __DIR__ . '/../vendor/autoload.php'; use Streamline\Bootstrap; use Streamline\Core\Router; use App\Controllers\HomeController; use App\Middlewares\CacheMiddleware; Bootstrap::initialize(); $router = new Router(); $router->get('/', HomeController::class . ':index')->addMiddleware(CacheMiddleware::class)->alias('home_page'); $router->run();
Contribution
Want to contribute? Follow these steps:
- Fork the repository.
- Create a branch for your changes: git checkout -b feature/my-improvement.
- Push your changes: git push origin feature/my-improvement.
- Open a Pull Request on the main repository.
Licença
This project is licensed under Licença MIT.
Autor
Developed with 💻 and ☕ by Adriano Miranda.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-08