platine-php/framework

Platine Framework is a lightweight, high-performance, simple and elegant PHP Web framework


README

Platine Framework is a lightweight, high-performance, simple and elegant PHP Web framework

Project Status Latest Stable Version Latest Unstable Version Total Downloads License
Tests Quality Score Codacy Badge Codacy Badge

Here are some of the features of Platine Framework:

  • It supports both web and command line applications.
  • It has a modular architecture that lets you use only the components you need.
  • It provides a powerful routing system that supports RESTful APIs, middleware, and parameters validation.
  • It has a dependency injection container that allows you to manage your services and dependencies.
  • It has a template engine that supports layouts, inheritance, and caching.
  • It has a database abstraction layer that supports multiple drivers and query builders.
  • It has a validation library that supports custom rules and error messages.
  • It has a testing library that helps you write unit and integration tests.
  • It has a console library that helps you create and run commands.
  • It has a configuration library that supports multiple formats and environments.

Requirements

You can use Platine Framework for web or command line application. For web application:

  • Any web server (Apache, nginx, lighttp, etc.)
  • PHP >= 7.4, PHP 8

For CLI application just PHP executable is enough.

Why another PHP Framework?

Well, I created Platine Framework for my own project, but decided to share with everyone.
I was also tired of all those bloated PHP Framework, with steep learning curve that create another language on top of PHP. Really?!
So this one is smaller. It is not bloated and contains some useful libraries, functions and tricks. And above all, it's damn simple.

Installation

Platine Framework can be installed using composer

composer require platine-php/framework

Install on docker

If you want to test platine using docker follow the step below:

  • Build the framework image
docker-compose build framework
  • Run the containers
docker-compose up -d
  • Install composer dependencies
docker-compose exec framework composer install --no-interaction

License

MIT License See LICENSE.MD

Resources