You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get the latest version of Laravel Asana simply require it in your `composer.json` file.
13
14
14
15
~~~
15
-
"torann/laravel-asana": "0.1.*@dev"
16
+
"torann/laravel-asana": "0.2.*@dev"
16
17
~~~
17
18
18
19
You'll then need to run `composer install` to download it and have the autoloader updated.
19
20
20
-
### Create configuration file using artisan
21
+
Once installed you need to register the service provider with the application. Open up `config/app.php` and find the `providers` key.
21
22
23
+
```php
24
+
'providers' => array(
25
+
'Torann\LaravelAsana\ServiceProvider',
26
+
)
22
27
```
23
-
$ php artisan config:publish torann/laravel-asana
28
+
29
+
Laravel Asana also ships with a facade which provides the static syntax for creating collections. You can register the facade in the aliases key of your `config/app.php` file.
30
+
31
+
```php
32
+
'aliases' => array(
33
+
'Asana' => 'Torann\LaravelAsana\Facade',
34
+
)
24
35
```
25
36
26
-
Now add Asana in your providers array `app/config/app.php`
37
+
### Create configuration file using artisan
27
38
28
-
~~~
29
-
'Torann\LaravelAsana\ServiceProvider'
30
-
~~~
39
+
```
40
+
$ php artisan vendor:publish
41
+
```
31
42
32
-
## Quick Examples
43
+
A configuration file will be publish to `config/asana.php`.
0 commit comments