Download the PHP
package alimranahmed/hit-logger without Composer
On this page you can find all versions of the php package
alimranahmed/hit-logger. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor alimranahmed Package hit-logger Short Description Laravel request and response logger. Highly encouraged from spatie/laravel-http-logger License
MIT
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.
A Laravel 5 package for logging http request and response. Usually we find ourself in a situation that our testing team or an API user is claming that they had sent a request and got an unexpected response. This package gives us the opportunity to look back what really was the request to our laravel application and what was actual the response from our application. This makes our life lot easir.
This pakcage provides a Middleware that can be used wherever you need(e.g. all the request and response, only a single route's requests and responses, only API requests and responses, only web requests and responses etc).
Built this package being highly inspired by spatie/laravel-http-logger which is a nice package to log only the requests.
Installation:
Run the following command in your terminal while you are in the root directory of your project:
If you want to change the default behavour of the package you can publish and change the config file. Run the
following command to publish the config file:
Usage
This package has a middleware that can be used to log request and response. Register the middleware in your
app/Http/Karnel.php file as below:
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 alimranahmed/hit-logger contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.