2017 © Pedro Peláez
 

library requests

Module that handles application requests

image

daedalus-web/requests

Module that handles application requests

  • Friday, October 27, 2017
  • by jgrancell
  • Repository
  • 0 Watchers
  • 0 Stars
  • 316 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Daedalus Module - Requests

Build Status Scrutinizer Code Quality Packagist version Code Coverage, (*1)

Request handling module for the Daedalus web application framework., (*2)

Installation

This is a request handler library, and should probably not be installed directly. To install the Daedalus framework into a new project:, (*3)

composer create-project daedalus-web/daedalus your-project-name 0.*

If you know what you're doing and want to use this handler library directly, you can add it to your composer.json file:, (*4)

{
  "require": {
    "daedalus-web/requests": "^1.0"
  }
}

Usage

## Set the namespace up to be used directly
use Daedalus\Requests\Request as Request;

## Fetch any GET, POST, or SERVER information
Request::get('your_field');
Request::post('your_field');
Request::server('your_field');

## Fetch all request information and access it via associated arrays
$allRequests = Request::all();
print_r($allRequests['post']);

This module exposes two HTTP methods (POST and GET) as well as the standard PHP $_SERVER method., (*5)

About

Requirements

Daedalus Requests is fully tested to work with:, (*6)

  • PHP 7.0
  • PHP 7.1
  • PHP 7.2

Strictly speaking, this module can be modified to support PHP 5.5+, however we use strict variable typing that is not available in PHP versions before 7.0. Because PHP 5.6 is no longer receiving active support (and will only be receiving security updates for another year), we strongly recommend starting any new project with PHP 7 or later., (*7)

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub, (*8)

Author

Josh Grancell - josh@joshgrancell.com - https://github.com/jgrancell, (*9)

License

Daedalus Requests is licensed under the MIT License - see the LICENSE file for details, (*10)

The Versions

27/10 2017

dev-master

9999999-dev https://github.com/daedalus/requests/

Module that handles application requests

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

requests daedalus

27/10 2017

v1.0.0

1.0.0.0 https://github.com/daedalus/requests/

Module that handles application requests

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

requests daedalus