Download the PHP package eliasis-framework/request without Composer

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

HTTP Request Logger · Eliasis PHP Framework plugin

Packagist License

Versión en español

Save HTTP request information to the database.



Requirements

This plugin is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.

Installation

The preferred way to install this extension is through Composer.

To install HTTP Request Logger, simply:

composer require eliasis-framework/http-request-logger

The previous command will only install the necessary files, if you prefer to download the entire source code you can use:

composer require eliasis-framework/http-request-logger --prefer-source

You can also clone the complete repository with Git:

git clone https://github.com/eliasis-framework/http-request-logger.git

Usage

To use this plugin, your Eliasis application must use the PHP-Database library and add the following to the application configuration files:

This will create the test_request table and automatically save all HTTP requests.

The table structure created is as follows:

Columns Data type Example
request_id INT(9) 1
request_ip VARCHAR(45) 87.142.85.70
request_uri TEXT /sample-app/
request_protocol VARCHAR(100) HTTP/1.1
request_method VARCHAR(15) GET
request_referer VARCHAR(255) http://www.google.es/
request_user_agent VARCHAR(255) Mozilla/5.0 (...)
request_http_state INT(3) 200
request_load_time FLOAT 0.008
created TIMESTAMP 2018-02-28 08:26:43

Tests

To run composer and to execute the following:

git clone https://github.com/eliasis-framework/http-request-logger.git

cd http-request-logger

composer install

Run unit tests with PHPUnit:

composer phpunit

Run PSR2 code standard tests with PHPCS:

composer phpcs

Run PHP Mess Detector tests to detect inconsistencies in code style:

composer phpmd

Run all previous tests:

composer tests

Patrocinar

Si este proyecto te ayuda a reducir el tiempo de desarrollo, puedes patrocinarme para apoyar mi trabajo :blush:

Licencia

Este repositorio tiene una licencia MIT License.

Copyright © 2017-2022, Josantonius


All versions of request with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0
eliasis-framework/eliasis Version ^1.1.3
eliasis-framework/complement Version ^1.1.1
composer/installers Version ^1.4.0
josantonius/loadtime Version ^1.1.7
josantonius/ip Version ^1.1.7
josantonius/hook Version ^1.1.0
josantonius/database Version ^1.1.9
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 eliasis-framework/request contains the following files

Loading the files please wait ....