承接 yasser-elgammal/green 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

yasser-elgammal/green

最新稳定版本:v1.4.0

Composer 安装命令:

composer create-project yasser-elgammal/green

包简介

Green Framework Skeleton

README 文档

README

Green is a lightweight, modern PHP framework built with PHP 8.2+ features, focusing on simplicity, speed, and developer experience. It leverages PHP Attributes for routing and follows a Table Gateway architecture.

Note: This repository contains the application skeleton. The core framework engine is located at YasserElgammal/green-core.

⚡ Quick Start

1. Installation

composer create-project yasser-elgammal/green app-name
cd app-name
cp .env.example .env
php green serve

2. Define a Route

class PostController {
    #[Route('GET', '/posts/{id}')]
    public function show(int $id) {
        return view('posts/show', ['id' => $id]);
    }
}

3. Database Access

$posts = new PostTable();
$post  = $posts->fetchById(1);

📖 Master Documentation

The framework is divided into several powerful subsystems. Please refer to the Master Documentation for detailed guides on:

🛠 Features at a Glance

  • PHP 8.2+ Attributes: No more clunky routing files.
  • Table Gateway: Clean separation of state (Model) and logic (Table).
  • Eager Loading: Simple include('relation') to solve N+1.
  • Smart Transformers: Nested API responses made easy.
  • Auto-Validation: Type-hint payloads for instant validation.
  • Twig Templates: Native Twig integration for clean views.
  • Debug UI: Premium dark-mode error pages.

📜 License

Green Framework is open-sourced under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固