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

1.1.3 2024-12-09 17:05 UTC

This package is auto-updated.

Last update: 2025-06-09 18:23:37 UTC


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:

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.