platine-php/framework
Composer 安装命令:
composer require platine-php/framework
包简介
Platine Framework is a lightweight, high-performance, simple and elegant PHP Web framework
README 文档
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 >= 8.0
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
platine-php/framework 适用场景与选型建议
platine-php/framework 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.43k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2021 年 02 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「php」 「application」 「development」 「website」 「platine」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 platine-php/framework 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 platine-php/framework 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 platine-php/framework 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Kinikit - PHP Application development framework MVC component
A Laravel queue connector to process jobs at the end of the application
C3JS By phpanonymous (Mahmoud Ibrahim)
This package manage your site basic settings like - site title, logo etc. You can also add your custom setting using this package.
Alfabank REST API integration
统计信息
- 总下载量: 5.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 15
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-20