Skip to content

monyxie/laravel-leancloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeanCloud php for Laravel 5+

Require

  • Laravel 5+
  • leancloud php sdk

Installation

composer require lidelin/laravel-leancloud

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

LDL\LeanCloud\Provider\LaravelServiceProvider::class,

For Laravel 5.5 package supports package discovery feature.

Then run the command to publish the config.

php artisan vendor:publish --provider="LDL\LeanCloud\Provider\LaravelServiceProvider" --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.

About

Laravel wrapper for leancloud php sdk

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%