45

GitHub - yinggaozhen/yaf-php: YAF(Yet Another Framework)源码PHP移植版

 4 years ago
source link: https://github.com/yinggaozhen/yaf-php
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

YAF-PHP

Test Case Yaf version version LICENSE


目录

1. 关于Yaf-PHP

1.1 简介

Yaf-PHP采用原生PHP对Yaf源码进行了逻辑重写,最大程度还原其相关实现逻辑.

由于采用了原生PHP重写,可达到抹平阅读能力,降低阅读成本的目的.在平常开发时,也可以作为IDE Helper进行引入,加快开发效率.

❤️❤️❤️另外,欢迎各位同学的star和fork~~❤️❤️❤️

1.2 安装

> git clone https://github.com/yinggaozhen/yaf-php.git

1.3 快速使用

1.3.1 在PhpStorm引入

两种实现方法

左侧导航栏 `External Libraries` -> `Configure PHP Include Path` -> 添加`Yaf-PHP`文件路径 -> `apply`
菜单 `File` -> `Setting` -> `PHP` -> 添加`Yaf-PHP`文件路径 -> `apply`

1.3.2 在NetBeans引入

右击你的项目 -> `Properties` -> `PHP Include Path` -> `Add Folder..` -> 添加`Yaf-PHP`文件路径 -> `open`

2 相关链接

3.待解决问题

  • 项目中TODO List清理
  • 加载方式同时支持PSR4和PSR0
  • 测试用例完善
  • 代码注释完善,包括函数入参出参参数说明,以及每个函数作用说明
  • 接入travis CI/codecov/lint,内容包含单元测试/测试覆盖率/代码规范校验
  • README文档完善

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK