Skip to content

Commit

Permalink
Cleaned up installation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman authored Sep 3, 2019
1 parent 0252949 commit 4a1a6cb
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,9 @@ To install Purify, run the following in the root of your project:
composer require stevebauman/purify
```

> **Note:** If you're using Laravel 5.5, ignore the below service provider and facade setup.
>
> These are registered automatically.
Then, insert the service provider in your `config/app.php`:

```php
Stevebauman\Purify\PurifyServiceProvider::class
```

You can also use the facade if you wish:

```php
'Purify' => 'Stevebauman\Purify\Facades\Purify'
```

Then, publish the configuration file using:

```cmd
```bash
php artisan vendor:publish --provider="Stevebauman\Purify\PurifyServiceProvider"
```

Expand Down

0 comments on commit 4a1a6cb

Please sign in to comment.