Download the PHP package lezhnev74/http-analyzer-laravel-adapter without Composer

On this page you can find all versions of the php package lezhnev74/http-analyzer-laravel-adapter. 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 http-analyzer-laravel-adapter

[Packagist]() GitHub license Build Status

Laravel package to dump HTTP requests to your Dashboard

Laravel API adapter to track each http request app handled.

Installation

Version Compability

Laravel version Package version Composer command
5.3.x 3.0.x composer require "lezhnev74/apideveloperio-laravel=~3.0"
5.4.x, 5.5.x, 5.6.x 4.0.x composer require "lezhnev74/apideveloperio-laravel=~4.0"

Steps

1. Install the package

2. Add service provider to your config/app.php

3. Run this this command to publish configuration file to your /config folder.

4. Set-up cron command

To dump recorded requests to the Dashboard. Open your app/Console/Kernel.php and add class to commands list.

5. That's it!

Configuration

After publishing, config file will be located at config/http_analyzer.php and speaks for himself. The only required configuration is to put your API Key under api_key field.

FAQ

How it works?

It hooks into Laravel app and records request, response and other data that you will see in your Dashboard:

You can tweak which information you would like to send to the Dashboard.

The command http_analyzer:dump that you have set up will send all recorded requests to your Dashboard.

I see no errors on the screen, but I don't see any requests in my dashboard. Why?

This package is designed to fail silently. If something went wrong while recording your requests - plugin won't interrupt your request lifecycle. Open your log and see if the package appended any critical information in there.

Also check the tmp storage folder if there are any stale dump files.

Suggestions

If user IPs are always 127.0.0.1

That happens due to some Symfony's Request issue. Try using this package - https://github.com/fideloper/TrustedProxy. Should do the trick.

What is the best way to track each request?

When someone refers to particular request/response app cycle, it is best to know it's unique ID. Knowing it you can easily find it in the Dashboard. Just add a middleware (like this one https://github.com/softonic/laravel-middleware-request-id) which will append a unique ID to each response your app provides.

🏆 Contributors

Support

Just open a new Issue here and get help.


All versions of http-analyzer-laravel-adapter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/support Version ~5.4|~5.5|~5.6
guzzlehttp/guzzle Version ~6.0|~5.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 lezhnev74/http-analyzer-laravel-adapter contains the following files

Loading the files please wait ....