承接 bidzm/laravel-activity-log 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bidzm/laravel-activity-log

Composer 安装命令:

composer require bidzm/laravel-activity-log

包简介

Laravel Activity Log

README 文档

README

Laravel Activity Log

Installation

Make sure you have the MongoDB PHP driver installed. You can find installation instructions at http://php.net/manual/en/mongodb.installation.php

Install through Composer

composer require bidzm/laravel-activity-log

Configuration

And add a new mongodb connection config/database.php:

'mongodb' => [
    'driver'   => 'mongodb',
    'host'     => env('DB_HOST', 'localhost'),
    'port'     => env('DB_PORT', 27017),
    'database' => env('DB_DATABASE'),
    'username' => env('DB_USERNAME'),
    'password' => env('DB_PASSWORD'),
    'options'  => [
        'database' => 'admin' // sets the authentication database required by mongo 3
    ]
],

Setup

Step 1: Register the Service Provider

Add the ActivityLogServiceProvider to the providers array in the config/app.php file;

Jenssegers\Mongodb\MongodbServiceProvider::class,
Bidzm\ActivityLog\ActivityLogServiceProvider::class,

Step 2: Publish config

php artisan vendor:publish --provider="Bidzm\ActivityLog\ActivityLogServiceProvider" --tag="config"

Usage

To subscribe model for activity log just use Bidzm\ActivityLog\Loggable

use Bidzm\ActivityLog\Loggable;

To add usage in your model

use Loggable;

Credits

https://github.com/vjlau/laravel-activity-log - Activity Log for Laravel

License

MIT - http://opensource.org/licenses/MIT

统计信息

  • 总下载量: 162
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固