szkj/install

Package description here.

dev-master 2020-12-04 10:29 UTC

This package is auto-updated.

Last update: 2024-04-04 17:50:35 UTC


README

$ composer require szkj/install 

Usage

安装初始化

$ php artisan szkj:install

请配置 config.szkj

'pcd'=> [
         //省
        'province' => '',
        //市
        'city' => '',
        //区
        'district' => '',
    ]

请配置 config.api

  'errorFormat' => [
        'message' => ':message',
        'errors' => ':errors',
//        'code' => ':code',
        'code' => ':status_code',
        'debug' => ':debug',
    ],

请配置 api.php

     'api' => [
                'driver' => 'jwt',
                'provider' => 'users',
                'hash' => false,
            ],

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT