wonder/api

dev-master 2020-08-05 15:28 UTC

This package is not auto-updated.

Last update: 2024-04-11 12:43:49 UTC


README

wonder-api is changed from laravel-admin, provide api for laravel-admin.

Requirements

  • PHP >= 7.0.0
  • Laravel >= 5.5.0

Installation

First, install laravel 5.5, and make sure that the database connection settings are correct.

composer require Wonder/api

Then run these commands to publish assets and config:

php artisan vendor:publish --provider="Wonder\Api\ApiServiceProvider"

After run command you can find config file in config/wonder.php, in this file you can change the install directory,db connection or table names.

At last run following command to finish install.

php artisan wonder:install

Configurations

The file config/wonder.php contains an array of configurations, you can find the default configurations in there.