LaravelPackages.net
Acme Inc.
Toggle sidebar
lidelin/laravel-leancloud

leancloud php sdk for laravel

7.002
1
v0.2.0
About lidelin/laravel-leancloud

lidelin/laravel-leancloud is a Laravel package for leancloud php sdk for laravel. It currently has 1 GitHub stars and 7.002 downloads on Packagist (latest version v0.2.0). Install it with composer require lidelin/laravel-leancloud. Discover more Laravel packages by lidelin or browse all Laravel packages to compare alternatives.

Last updated

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.

Comments