Laravel Test Package
I've created this package to understand the workflow of Laravel Packages and how they work. I've kept fairly simplistic to make things clearer., (*1)
Install
$ composer require amitmerchant/calculator=dev-master, (*2)
Then add Amitmerchant\Calculator\CalculatorServiceProvider::class in bootstrap/app.php under providers, (*3)
Use
Run php artisan serve, (*4)
And then access following URLs:, (*5)
http://127.0.0.1:8000/add/2/4, (*6)
http://127.0.0.1:8000/substract/4/2, (*7)
License
MIT, (*8)