Download the PHP package alfredluck/laravel-sls without Composer
On this page you can find all versions of the php package alfredluck/laravel-sls. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alfredluck/laravel-sls
More information about alfredluck/laravel-sls
Files in alfredluck/laravel-sls
Package laravel-sls
Short Description Aliyun SLS Log For Laravel
License MIT
Homepage https://github.com/lokielse/laravel-sls
Informations about the package laravel-sls
Aliyun SLS Log For Laravel
Install
Via Composer
Config
Add following service providers into your providers array in config/app.php
Publish sls.php to config folder
Replace Log alias in your config/app.php (Optional)
Edit your .env file
You should update SLS_ENDPOINT to internal endpoint in production mode
Usage
First create a project and store at Aliyun SLS Console
Then update SLS_ENDPOINT, SLS_PROJECT, SLS_STORE in .env
Push a test message to queue
Security
Create RAM access control at Aliyun RAM Console
-
Create a custom policy such as
AliyunSLSFullAccessFoobar -
Create a user for you app such as
foobar -
Assign the policy
AliyunSLSFullAccessFoobarto the userfoobar -
Create and get the
AccessKeyIdandAccessKeySecretfor userfoorbar - update
QUEUE_SLS_ACCESS_KEYandQUEUE_SLS_ACCESS_SECRETin.env
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Credits
- Loki Else
- abrahamgreyson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sls with dependencies
php Version ~5.5|~7.0
lokielse/aliyun-open-api-sls Version ^1.0.0