PackageTrack
Sign in Get early access

hestiacp/phpquoteshellarg

Improved escape shell arguments for support of special charactars

v1.1.0 2.5M downloads/mo #978 most downloaded on Packagist hestiacp/phpquoteshellarg

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 12 months

Some releases are documented

notes for 2 of 4 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

7 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jul 2022 to Sep 2024
2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. v1.1.0 20 Sep 2024
    Release notes

    now support int and float

    function quoteshellarg(string | int | float $arg): string

    Now require PHP>=8.0.0 (up from PHP7.2.0)

    var_dump(array(
        'INF' => quoteshellarg(INF),
        'NAN' => quoteshellarg(NAN),
        '1.234567890' => quoteshellarg(1.234567890),
        123 => quoteshellarg(123),
    ));
    
    array(4) {
      ["INF"]=>
      string(5) "'INF'"
      ["NAN"]=>
      string(5) "'NaN'"
      ["1.234567890"]=>
      string(20) "'1.2345678899999999'"
      [123]=>
      string(5) "'123'"
    }
    Open source →
  2. v1.0.2 23 Jul 2023
    Release notes

    Add support for Cygwin

    Even Hestia CP doesn't use it it is also available for everybody to use.

    Open source →
  3. v1.0.1 04 Jul 2022

    Nothing published for this version

  4. v1.0.1-p3 17 Jul 2022 pre-release

    Nothing published for this version

  5. v1.0.1-p2 17 Jul 2022 pre-release

    Nothing published for this version

  6. v1.0.1-p1 17 Jul 2022 pre-release

    Nothing published for this version

  7. v1.0.0 04 Jul 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive