amitmerchant/calculator is a Laravel package for test package.
It currently has 1 GitHub stars and 12 downloads on Packagist.
Install it with composer require amitmerchant/calculator.
Discover more Laravel packages by amitmerchant
or browse all Laravel packages to compare alternatives.
Last updated
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.
$ composer require amitmerchant/calculator=dev-master
Then add Amitmerchant\Calculator\CalculatorServiceProvider::class in bootstrap/app.php under providers
Run php artisan serve
And then access following URLs:
http://127.0.0.1:8000/add/2/4
http://127.0.0.1:8000/substract/4/2
MIT