Installation - corbancode/termii-laravel GitHub Wiki

You can install the package via composer:

composer require corbancode/termii-laravel

For Laravel >=5.5, no need to manually add TermiiServiceProvider into the config. It uses a package auto-discovery feature. Skip this if you are on >=5.5, if not:

Open your AppServiceProvider (located in app/Providers) and add this line in register function

$this->app->register(\Corbancode\TermiiLaravel\Providers\TermiiServiceProvider::class);

or open your config/app.php and add this line in providers section

Corbancode\TermiiLaravel\Providers\TermiiServiceProvider::class,