gin0115/buddypress-stubs
最新稳定版本:14.4.0
Composer 安装命令:
composer require gin0115/buddypress-stubs
包简介
BuddyPress Stubs
README 文档
README
This a crude script to generate stubs for BuddyPress functions and classes. Based on https://github.com/php-stubs/generator
To add to your project.
If you would like access to the stubs in your project, you can add this package as a dev dependency.
$ composer require --dev gin0115/buddypress-stubs
Full list of available versions can be found on Packagist: https://packagist.org/packages/gin0115/buddypress-stubs
Usage
To run the generator you will need to have PHP 7.4 or higher installed, with the ZIP extension enabled.
- Clone this repository
- Run
$ composer install - Then run
$ php generate.php xx.xx.x(or whatever version you want to generate $ php generate.php 11.1.0`) - This will then generate the stub file called
buddypress-stubs.phpin the root of the project. - Commit the changes in a branch called
vxx.xx.x(based on the version number you used in step 3) - If approved, will be released as a new version on Packagist.
统计信息
- 总下载量: 524
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-22