Download the PHP package alifcoder/activity-log without Composer

On this page you can find all versions of the php package alifcoder/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

πŸ“˜ Alif Activity Log

A simple, customizable Laravel package to log and store user activity across your application. Perfect for auditing, tracking changes, and monitoring actions within modules.


✨ Features


πŸ“¦ Requirements


πŸš€ Installation


βš™οΈ Configuration & Migration

Publish the configuration and migration with:

This will publish:

Then run the migration:


πŸ§‘β€πŸ’» Usage

Logging a manual activity


🧱 Table Structure: activity_logs

Column Type Description
id UUID Primary key
parent_id UUID Link to parent log (optional)
log_type String Type of action (e.g. create)
user_id String Authenticated user ID
module String App module or context
route String Route name
url String Full URL accessed
model_id String Related model ID (optional)
model_type String Related model class (optional)
user_agent Text Browser/user-agent string
created_at DateTime When the log was created

🧹 Uninstall (Clean Up)

Run this command before removing the package:

It will:

Then remove the package:


🀝 Contributing

Pull requests are welcome! For major changes, please open an issue first.


πŸͺͺ License

MIT License Β© Shukhratjon Yuldashev


πŸ“‘ Automatic Logging for All Requests

To log every request made to your Laravel application, you can use the provided middleware and HTTP macro.

βœ… 1. Register the Middleware

In your app/Http/Kernel.php, register the middleware globally or per group:

This will automatically log incoming HTTP requests, including route, URL, method, and user info.

βœ… 2. Log Outgoing HTTP Requests

The package extends Laravel’s Http client with a loggable() macro.

Example usage:

This logs outgoing HTTP calls made by your application.


🧩 Customization

You can customize what gets logged, ignored routes/methods, and the database connection via:


πŸ“« Support

If you need help, feel free to contact Shukhratjon Yuldashev on Telegram.


All versions of activity-log with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
illuminate/support Version ^11.0 || ^12.0
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 alifcoder/activity-log contains the following files

Loading the files please wait ....