Skip to content

Installation

Ayomide Olakulehin edited this page Mar 31, 2022 · 2 revisions

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,
Clone this wiki locally