leancloud php sdk for laravel

leancloud php sdk for laravel

README

Require

  • Laravel 5+
  • leancloud php sdk

Installation

composer require lidelin/laravel-leancloud

In your config/app.php add this line to providers array:

LDLLeanCloudProviderLaravelServiceProvider::class,

For Laravel 5.5 package supports package discovery feature.

Then run the command to publish the config.

php artisan vendor:publish --provider="LDLLeanCloudProviderLaravelServiceProvider" --tag=config

Configuration

add these lines to your .env file

LEANCLOUD_APP_ID=
LEANCLOUD_APP_KEY=
LEANCLOUD_MASTER_KEY=
LEANCLOUD_API_SERVER=
LEANCLOUD_APP_ENV=production      # "production" for production envirenment

Usage

Documentation

More development detail see

License

Source code is release under MIT license. Read LICENSE file for more information.

Source

Add a Comment

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *