Download the PHP package landrok/laravel-request-logger without Composer

On this page you can find all versions of the php package landrok/laravel-request-logger. 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 laravel-request-logger

Laravel Request Logger

Build Status Test Coverage Code Climate

Laravel Request Logger provides a middleware that logs HTTP requests into a table.

It can be reconfigured to target specific requests or to log only specified informations.

What is logged ?

For each request, the following informations are stored.

User

Performances

HTTP stuff

Device

The following values are provided by the jenssegers/agent package.

Miscellaneous


Table of contents


Requirements

Laravel Request Logger supports Laravel 6, 7, 8.


Installation

Create the request_logs table with


Configuration

You may log every calls (default), only routes that match some patterns and only specified criterias.

You have to publish configuration file before.

php artisan vendor:publish --provider="Landrok\Laravel\RequestLogger\RequestLoggerServiceProvider"

The config file can be found at config/requestlogger.php.


Meta::set(string $key, $value)

This tool is made to log anything from anywhere in your code (Controller, View, Service, etc...) into the meta column.

$value can be a string or an array or a serializable. It will be stored as a JSON string.

Before using this method, you have to authorize this field in the config file.


Contributing

Feel free to open issues and make PR. Contributions are welcome.


License

Laravel Request License is licensed under The MIT License (MIT).


All versions of laravel-request-logger with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
illuminate/database Version >6.0
jenssegers/agent Version ^2.6
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 landrok/laravel-request-logger contains the following files

Loading the files please wait ....