Skip to content

Api-tester extension for open-admin-core

License

Notifications You must be signed in to change notification settings

dedermus/api-tester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API tester for open-admin

StyleCI Packagist Total Downloads Pull request welcome

Documentation

Screenshot

extention-api-tester

Installation

$ composer require dedermus/api-tester

$ 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' => env('API_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);
            },
        ]
    ]

Configuration

Add in to env file API_PREFIX = v1

License

Licensed under The MIT License (MIT).

About

Api-tester extension for open-admin-core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 44.8%
  • Blade 43.9%
  • CSS 11.3%