File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,22 @@ composer require "publiux/laravelcdn:~2.0"
4444
4545* If you are using Laravel 5.4 or below, you need to register the service provider:*
4646
47- Laravel 5.4 and below: Add the service provider to ` config/app.php ` :
47+ Laravel 5.4 and below: Add the service provider and facade to ` config/app.php ` :
4848
4949``` php
5050'providers' => array(
5151 //...
5252 Publiux\laravelcdn\CdnServiceProvider::class,
5353),
5454```
55+
56+ ``` php
57+ 'aliases' => array(
58+ //...
59+ 'Cdn' => Publiux\laravelcdn\Facades\CdnFacadeAccessor::class
60+ ),
61+ ```
62+
5563* If you are using Laravel 5.5, there is no need to register the service provider as this package is automatically discovered.*
5664
5765Publish the package config file:
You can’t perform that action at this time.
0 commit comments