set api routes to laravel api file
Via Composer
$ composer require masoud5070/api-routes
If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php
:
Masoud5070\ApiRoutes\ApiRoutesServiceProvider,
use /test
uri to get information by GET
method and with
POST
method you should set name
field then send request.
for change default configuration you can publish config file by command below:
$ php artisan vendor:publish --tag=config
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.