Api tester for laravel
43,471
48
4
Package Data
Maintainer Username: encore
Maintainer Contact: zosong@126.com (z-song)
Package Create Date: 2017-08-07
Package Last Update: 2021-05-05
Home Page: http://laravel-admin.org/
Language: Blade
License: MIT
Last Refreshed: 2021-07-28 15:16:24
Package Statistics
Total Downloads: 43,471
Monthly Downloads: 1,031
Daily Downloads: 30
Total Stars: 48
Total Watchers: 4
Total Forks: 30
Total Open Issues: 9

API tester for laravel-admin

StyleCI Packagist Total Downloads Pull request welcome

Inspired by laravel-api-tester.

Documentation | 中文文档

Screenshot

wx20170809-164424

Installation

$ composer require laravel-admin-ext/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).