platine-php / framework
Platine Framework is a lightweight, high-performance, simple and elegant PHP Web framework
Installs: 3 366
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8
- platine-php/cache: ^1.0
- platine-php/collection: ^1.0
- platine-php/config: ^1.0
- platine-php/console: ^1.0
- platine-php/container: ^1.0
- platine-php/cookie: ^1.0
- platine-php/database: ^1.0
- platine-php/docx-template: ^1.0
- platine-php/etl: ^1.0
- platine-php/event-dispatcher: ^1.0
- platine-php/expression: ^1.0
- platine-php/filesystem: ^1.0
- platine-php/http: ^1.0
- platine-php/lang: ^1.0
- platine-php/logger: ^1.0
- platine-php/mail: ^1.0
- platine-php/oauth2: ^1.0
- platine-php/orm: ^1.0
- platine-php/pagination: ^1.0
- platine-php/pdf: ^1.0
- platine-php/request-handler: ^1.0
- platine-php/router: ^1.0
- platine-php/security: ^1.0
- platine-php/session: ^1.0
- platine-php/stdlib: ^1.0
- platine-php/template: ^1.0
- platine-php/upload: ^1.0
- platine-php/user-agent: ^1.0
- platine-php/validator: ^1.0
- platine-php/webauthn: ^1.0
Requires (Dev)
- mikey179/vfsstream: ~1.6
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- platine-php/dev: ^1.0
- squizlabs/php_codesniffer: 3.*
README
Platine Framework is a lightweight, high-performance, simple and elegant PHP Web framework
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
- Documentation
- Tutorial Youtube (French): Budget Management Application