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
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- vlucas/phpdotenv: ^5.6
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.