php库文件,一个快速搭建PHP库项目基本文件的工具

ramsey/php-library-skeleton

687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d72616d7365792f7068702d2d6c6962726172792d2d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c6561736568747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2f6d61737465722e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2f6d61737465722e7376673f7374796c653d666c61742d73717561726568747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616d7365792f7068702d6c6962726172792d736b656c65746f6e2e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6d656469756d76696f6c6574726564

ramsey/php-library-skeleton is a package that may be used to generate a basic PHP library project directory structure, complete with many of the starting files (i.e. README, LICENSE, GitHub issue templates, PHPUnit configuration, etc.) that are commonly found in PHP libraries. The project directory that's created may be used as a starting point for creating your own PHP libraries.

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Installation

ramsey/php-library-skeleton is not a library that you install in the traditional way using composer require. Instead, you'll use composer create-project to use this package as a starting part for developing your own PHP library.

Here's how do this, using Composer:

composer create-project ramsey/php-library-skeleton target-directory

You will be walked through a series of questions, and your PHP library source files will be located in target-directory, when completed. Change to that directory, git init, and off you go!

Why did you include x and not y?

Simply put: I created this project skeleton generator for my own uses, and these are the common files and boilerplate language I use in my PHP libraries. If you like what you see, feel free to use it. If you like some of it but not all, fork it and customize it to fit your needs. I hope you find it helpful!

Contributing

While this project is mostly for my own needs, contributions are welcome. Please read CONTRIBUTING for details.

Copyright and License

The ramsey/php-library-skeleton library is copyright © Ben Ramsey and licensed for use under the MIT License (MIT). Please see LICENSE for more information.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值