Download the PHP package jarl/activity-log without Composer

On this page you can find all versions of the php package jarl/activity-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package activity-log

Dcat Admin Activity-log操作日志扩展

dcat-admin 基于laravel/activity-log 的自动记录模型操作日志扩展

composer安装

如果您希望您的日志存储在一个特殊的数据库连接中,您可以在env文件中定义ACTIVITY_LOGGER_DB_CONNECTION

迁移配置文件

使用

  1. 打开扩展管理页面,找到jarl.activity-log扩展启用
  2. 修改activitylog.php配置文件里的default_auth_driver属性为你定义的guard,一般后台是admin,前台是web,否则生成的日志causer_typecauser_idnull
  3. 在想要记录的模型类中使用引入Jarl\ActivityLog\Http\Traits\LogsActivityTrait

自定义使用 (即不通过安装扩展方式使用)

例如

  1. 你添加了其他字段比如ip字段
  2. 你想修改表名
  3. 你想修改展示页面
  4. ...

可自行复制修改sql迁移文件、控制器、模型、静态文件、语言包等文件,之后在模型里定义tapActivity方法,该方法可修改任意字段。

说明

本项目基于 spatie/laravel/activity-log 项目,如涉及侵权问题麻烦联系本人删除该项目

感谢

License

Licensed under The MIT License (MIT).


All versions of activity-log with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
dcat/laravel-admin Version ~2.0
spatie/laravel-activitylog Version 4.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jarl/activity-log contains the following files

Loading the files please wait ....