Currency converter widget for laravel 5
-
Run
composer require therezor/laravel-currency-converter-widget
in your laravel project root folder -
Register a service provider in the
app.php
configuration file
<?php
'providers' => [
...
Arrilot\Widgets\ServiceProvider::class,
TheRezor\CurrencyWidget\ServiceProvider::class,
],
?>
- Add some facades here too.
<?php
'aliases' => [
...
'Widget' => Arrilot\Widgets\Facade::class,
'AsyncWidget' => Arrilot\Widgets\AsyncFacade::class,
],
?>
-
Run
php artisan vendor:publish
-
Add
@widget('CurrencyConverter')
into view where you want the widget to be