Skip to content

Commit

Permalink
Add Packagist Support
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwells committed Aug 15, 2018
1 parent 677582b commit 2ec870a
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,13 @@ A provider for [Faker](https://github.com/fzaninotto/Faker#faker-internals-under

## Install

This package is not available on Packagist, this means that in order to make Composer be aware of this package you will need to add this [repository to your `composer.json`](https://getcomposer.org/doc/05-repositories.md#vcs) like below:

```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mattwells/faker-vehicle.git"
}
]
```
Install this package via composer

Then add `"mattwells/faker-vehicle": "dev-master"` to your `require` or `require-dev` array.
```
composer require mattwells/faker-vehicle
```

Finally you need to add the provider to Faker:
Finally you need to add the provider to Faker

```php
$faker = \Faker\Factory::create();
Expand Down

0 comments on commit 2ec870a

Please sign in to comment.