Statistics
5157
2
0
1.4y
Badges
Dependencies

CLI HTTP

CLI HTTP Extension for Nette. Provide URL in your CLI mode only, it does not override your http.request in other modes.


Downloads total Latest stable

Discussion / Help

Join the chat

Contributte

This package is no longer developed here. In favor of contributte/http.

Install

$ composer require minetro/cli-http-extension

Usage

Place it in your config file (e.q. config.neon).

Simplest

extensions:
    clihttp: Minetro\Bridges\CliHttpExtension(www.example.com)

Extended

extensions:
    clihttp: Minetro\Bridges\CliHttpExtension

clihttp:
    url: www.example.com
    # other params
    query: NULL
    post: NULL
    files: NULL
    cookies: NULL
    headers: NULL
    method: NULL
    remoteAddress: NULL
    remoteHost: NULL
    rawBodyCallback: NULL
  • 0.2.0 v0.2.0

    Open for nette 2.4. 🔪

    Requirements:

    • PHP >= 5.6.0
    • nette >=2.4.0
  • 0.1.0 v0.1.0

    First release.

    Requirements:

    • nette >=2.3.0, <2.4.0

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com