From 2ec870a47001274995bebab8db9ff8b2a08dad32 Mon Sep 17 00:00:00 2001 From: Matt Wells Date: Wed, 15 Aug 2018 10:59:35 +0100 Subject: [PATCH] Add Packagist Support --- README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 9ddf88d..bab6c6e 100644 --- a/README.md +++ b/README.md @@ -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();