In the require
key of composer.json
file add the following
"xaoc303/battle-calc": "~2.0"
or run command
$ composer require xaoc303/battle-calc:~2.0
Run the Composer update command
$ composer update
In your config/app.php
add 'Xaoc303\BattleCalc\BattleCalcServiceProvider'
to the end of the providers
array
'providers' => array(
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
...
'Xaoc303\BattleCalc\BattleCalcServiceProvider',
),