LaravelPackages.net
Acme Inc.
Toggle sidebar
xxs/api-tester

Api tester for laravel

9
0
v1.0.2
About xxs/api-tester

xxs/api-tester is a Laravel package for api tester for laravel. It currently has 0 GitHub stars and 9 downloads on Packagist (latest version v1.0.2). Install it with composer require xxs/api-tester. Discover more Laravel packages by xxs or browse all Laravel packages to compare alternatives.

Last updated

API tester for laravel-admin

StyleCI Packagist Total Downloads Pull request welcome

Inspired by laravel-api-tester.

Documentation | 中文文档

Screenshot

wx20170809-164424

Installation

$ composer require xxs/api-tester -vvv

$ php artisan vendor:publish --tag=api-tester

Then last run flowing command to import menu and permission:

$ php artisan admin:import api-tester

Finally open http://localhost/admin/api-tester.

Configuration

api-tester supports 3 configuration, open config/admin.php find extensions:


    'extensions' => [
    
        'api-tester' => [
        
            // route prefix for APIs
            'prefix' => 'api',

            // auth guard for api
            'guard'  => 'api',

            // If you are not using the default user model as the authentication model, set it up
            'user_retriever' => function ($id) {
                return \App\User::find($id);
            },
        ]
    ]

License

Licensed under The MIT License (MIT).

Star History Chart