定制 eliasnoya/tuples-framework 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eliasnoya/tuples-framework

最新稳定版本:1.0.4

Composer 安装命令:

composer require eliasnoya/tuples-framework

包简介

Lightweight PHP framework optimized for minimal resource consumption, specifically designed for seamless integration with the RoadRunner HTTP Server.

README 文档

README

Tuples is a lightweight framework, weighing in at just over 50KB, designed to provide essential features like an HTTP router, PSR-7 support, and a simplified dependency injector. It is crafted with the intention of being utilized seamlessly with RoadRunner while remaining compatible with traditional PHP implementations.

Features

  • HTTP Router: Efficient routing for handling web requests.
  • Request and Response Wrappers: With PSR-7 Compatibility
  • Dependency Injection: A simplified dependency injector to manage class dependencies.
  • Mutliples Database Connections: A simple PDO Wrapper (for more complex use your can inject Doctrine or some similar packadge)
  • RoadRunner Worker: In the skeleton app your have the worker and the basic configuration of RoadRunner HTTP Server

Philosophy

Tuples follows the philosophy of being minimally invasive, providing only the fundamental functionalities needed for a web application. The goal is to keep the codebase lightweight, making it suitable for a variety of use cases. Whether you are working with RoadRunner (our favorite) or a standard PHP environment, Tuples aims to be versatile and easy to integrate.

Create a Skeleton app with all the depedencies and RoadRunner Server

composer create-project eliasnoya/tuples-project myapp
cd myapp
# in Linux
./rr serve
# In Windows
./rr.exe serve

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-23