onestartup/calculator

making a first package

0.0.2 2018-04-10 05:43 UTC

This package is not auto-updated.

Last update: 2024-05-16 08:47:02 UTC


README

onestartup/calculator it's a simple calculator created for test laravel packages

Installation

  • Add this to composer.json file

    "onestartup/calculator": "~0.0.2"
    

    and run

    composer update
    
  • after add the ServiceProvider to the providers array in config/app.php

    Onestartup\Calculator\CalculatorServiceProvider::class,
    
  • run serv
    php artisan serve
    
  • test in this route
    http://localhost:8000/add/5/2