edit this page Get Started
Installation
Composer
From the command line run:
$ composer require torann/laravel-asana
Laravel
Once installed you need to register the service provider with the application. Open up config/app.php
and find the providers
key.
'providers' => [
\Torann\LaravelAsana\ServiceProvider::class,
]
Lumen
For Lumen register the service provider in bootstrap/app.php
.
$app->register(\Torann\LaravelAsana\ServiceProvider::class);
Facade
This package also ships with a facade (or you can simply is the asana()
helper function). To register the facade, add it to the aliases array in your config/app.php
file.
'aliases' => [
'Asana' => 'Torann\LaravelAsana\Facade\Asana',
]
Publish the configurations
Run this on the command line from the root of your project:
$ php artisan vendor:publish --provider="Torann\LaravelAsana\ServiceProvider" --tag=config
A configuration file will be publish to config/asana.php
.