Skip to content

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
publiux authored Oct 30, 2017
2 parents 94fd9af + 43a6538 commit 66e7514
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,22 @@ composer require "publiux/laravelcdn:~2.0"

*If you are using Laravel 5.4 or below, you need to register the service provider:*

Laravel 5.4 and below: Add the service provider to `config/app.php`:
Laravel 5.4 and below: Add the service provider and facade to `config/app.php`:

```php
'providers' => array(
//...
Publiux\laravelcdn\CdnServiceProvider::class,
),
```

```php
'aliases' => array(
//...
'Cdn' => Publiux\laravelcdn\Facades\CdnFacadeAccessor::class
),
```

*If you are using Laravel 5.5, there is no need to register the service provider as this package is automatically discovered.*

Publish the package config file:
Expand Down

0 comments on commit 66e7514

Please sign in to comment.