lidelin / laravel-leancloud
leancloud php sdk for laravel
Installs: 7 001
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- leancloud/leancloud-sdk: ^0.8
This package is auto-updated.
Last update: 2025-01-26 23:04:58 UTC
README
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.