Download the PHP package lablnet/input without Composer

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

PHP input class

This package can process the current HTTP request values.

Requirement

  1. PHP
  2. Composer

Installation

Installing this package is very simple, first ensure you have the right PHP version and composer installed then in your terminal/(command prompt) run: composer require lablnet/input

Dependencies

This class use [lablnet/http-client](https://packagist.org/packages/lablnet/http-client) library.

Feature

  1. Supported method get,post,put,patch,delete,files,others.
  2. Clean input method(clean XSS attack/sanitize input).
  3. Determine whether request is ajax or not.
  4. Restore line breaks method.

Description

It can access the HTTP request values and return them in a more convenient way to the application. Currently it can check the input values when using the GET, POST, PUT, PATCH, DELETE, FILES etc parameters, filter the parameter values, check whether request is sent by a browser using AJAX, word wrap parameter values, check whether the request is a form submission, fix parameter value line breaks.

This class provide helpers functions for easily use of class.

Input

You can get input by calling input helpers or Input::input method

Escape

You can escape input by calling escape helpers or Input::escape method

Determine whether request is ajax/xhr?

You can determine current request by calling is_ajax helpers or Input::isAjax method

Restore line breaks

You can restore line breaks by calling restore_line_break helpers or Input::restoreLineBreaks method


All versions of input with dependencies

PHP Build Version
Package Version
Requires lablnet/http-client Version ^1.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 lablnet/input contains the following files

Loading the files please wait ....