Download the PHP package brunodebarros/fix-php-post-input without Composer

On this page you can find all versions of the php package brunodebarros/fix-php-post-input. 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 fix-php-post-input

What is brunodebarros/fix-php-post-input

brunodebarros/fix-php-post-input fixes your $_POST and $_FILES if they're empty and they shouldn't be.

Why? Some incorrectly setup servers will not pass the right information required for PHP to automatically process input data (e.g. they'll say the HTTP method was GET because of an internal redirect).

For apps where you control the environment, this is easy to resolve. For self-hosted apps, that anyone can install anywhere, it's important to make sure that things continue to work without having to ask less tech-savvy users to mess with their server configurations.

In those cases, this library will automatically fix the $_POST and $_FILES arrays for you so that you can continue working without having to worry about it.

As a bonus, it will also process JSON (application/json) input into $_POST for you.

Requirements

Installation

brunodebarros/fix-php-post-input loads automatically with Composer.

Usage

Once required, the package will automatically fix your $_POST/$_FILES for you. If they don't need fixing, this package will do nothing.

Suggestions, questions and complaints.

If you've got any suggestions, questions, or anything you don't like about this library, you should create an issue here. Feel free to fork this project, if you want to contribute to it.


All versions of fix-php-post-input with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
riverline/multipart-parser Version dev-master
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 brunodebarros/fix-php-post-input contains the following files

Loading the files please wait ....