use `:vendor` placeholder
to make the package more useful for general use, replace references to `thephpleague` and `league` with `:vendor`.
This commit is contained in:
parent
293190deb1
commit
d048eb97f8
|
@ -2,7 +2,7 @@
|
|||
|
||||
Contributions are **welcome** and will be fully **credited**.
|
||||
|
||||
We accept contributions via Pull Requests on [Github](https://github.com/thephpleague/:package_name).
|
||||
We accept contributions via Pull Requests on [Github](https://github.com/:vendor/:package_name).
|
||||
|
||||
|
||||
## Pull Requests
|
||||
|
|
24
README.md
24
README.md
|
@ -7,7 +7,7 @@
|
|||
[![Quality Score][ico-code-quality]][link-code-quality]
|
||||
[![Total Downloads][ico-downloads]][link-downloads]
|
||||
|
||||
**Note:** Replace ```:author_name``` ```:author_username``` ```:author_website``` ```:author_email``` ```:package_name``` ```:package_description``` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line.
|
||||
**Note:** Replace ```:author_name``` ```:author_username``` ```:author_website``` ```:author_email``` ```:vendor``` ```:package_name``` ```:package_description``` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line.
|
||||
|
||||
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what
|
||||
PSRs you support to avoid any confusion with users and contributors.
|
||||
|
@ -17,7 +17,7 @@ PSRs you support to avoid any confusion with users and contributors.
|
|||
Via Composer
|
||||
|
||||
``` bash
|
||||
$ composer require league/:package_name
|
||||
$ composer require :vendor/:package_name
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
@ -54,17 +54,17 @@ If you discover any security related issues, please email :author_email instead
|
|||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
[ico-version]: https://img.shields.io/packagist/v/league/:package_name.svg?style=flat-square
|
||||
[ico-version]: https://img.shields.io/packagist/v/:vendor/:package_name.svg?style=flat-square
|
||||
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
|
||||
[ico-travis]: https://img.shields.io/travis/thephpleague/:package_name/master.svg?style=flat-square
|
||||
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/thephpleague/:package_name.svg?style=flat-square
|
||||
[ico-code-quality]: https://img.shields.io/scrutinizer/g/thephpleague/:package_name.svg?style=flat-square
|
||||
[ico-downloads]: https://img.shields.io/packagist/dt/league/:package_name.svg?style=flat-square
|
||||
[ico-travis]: https://img.shields.io/travis/:vendor/:package_name/master.svg?style=flat-square
|
||||
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/:vendor/:package_name.svg?style=flat-square
|
||||
[ico-code-quality]: https://img.shields.io/scrutinizer/g/:vendor/:package_name.svg?style=flat-square
|
||||
[ico-downloads]: https://img.shields.io/packagist/dt/:vendor/:package_name.svg?style=flat-square
|
||||
|
||||
[link-packagist]: https://packagist.org/packages/league/:package_name
|
||||
[link-travis]: https://travis-ci.org/thephpleague/:package_name
|
||||
[link-scrutinizer]: https://scrutinizer-ci.com/g/thephpleague/:package_name/code-structure
|
||||
[link-code-quality]: https://scrutinizer-ci.com/g/thephpleague/:package_name
|
||||
[link-downloads]: https://packagist.org/packages/league/:package_name
|
||||
[link-packagist]: https://packagist.org/packages/:vendor/:package_name
|
||||
[link-travis]: https://travis-ci.org/:vendor/:package_name
|
||||
[link-scrutinizer]: https://scrutinizer-ci.com/g/:vendor/:package_name/code-structure
|
||||
[link-code-quality]: https://scrutinizer-ci.com/g/:vendor/:package_name
|
||||
[link-downloads]: https://packagist.org/packages/:vendor/:package_name
|
||||
[link-author]: https://github.com/:author_username
|
||||
[link-contributors]: ../../contributors
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "league/:package_name",
|
||||
"name": ":vendor/:package_name",
|
||||
"description": ":package_description",
|
||||
"keywords": [
|
||||
"league",
|
||||
":vendor",
|
||||
":package_name"
|
||||
],
|
||||
"homepage": "https://github.com/thephpleague/:package_name",
|
||||
"homepage": "https://github.com/:vendor/:package_name",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
|
@ -24,12 +24,12 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"League\\Skeleton\\": "src"
|
||||
":vendor\\:package_name\\": "src"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"League\\Skeleton\\Test\\": "tests"
|
||||
":vendor\\:package_name\\Test\\": "tests"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
processIsolation="false"
|
||||
stopOnFailure="false">
|
||||
<testsuites>
|
||||
<testsuite name="League Test Suite">
|
||||
<testsuite name=":vendor Test Suite">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
|
Loading…
Reference in New Issue