Download the PHP package antharuu/phyx without Composer

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

Phyx

CI Latest Stable Version PHP Version Require

Phyx is a modern PHP utility library that rethinks native PHP functions around a more coherent, readable, and predictable API.

It keeps the good parts of PHP: arrays, strings, paths, URLs, JSON, HTML, numbers, bytes. It removes as much historical friction as possible: inconsistent argument order, false|int return values, magic flags, multibyte traps, ambiguous parsing, and function names that were never designed as one standard library.

Phyx is not a framework, not a runtime, and not a new language. It is a pragmatic standard-library layer for everyday PHP code.

Why Phyx?

PHP already has the building blocks. Phyx makes them feel designed together.

A few rules guide the whole library:

Install

Requirements:

PHP 8.3 conveniences such as json_validate, str_increment, and str_decrement are polyfilled where Phyx needs them, so the public API remains available on every supported PHP version.

Stability

Phyx is preparing its first public release as v0.1.0. The library is tested, statically analyzed, and intended for real projects, but the public API may still receive small adjustments before 1.0.0.

The surface area

Phyx is organized by everyday domains rather than by PHP's historical function families.

Façade Focus
Phyx\Str strings, casing, search, slicing, replace, formatting, hashes, HTML-safe helpers
Phyx\Arr array access, paths, transforms, grouping, sorting, set operations, shape changes
Phyx\Json encode/decode, validation, typed decode helpers, lightweight path access
Phyx\Html escaping, entities, tags, attributes, simple fragments
Phyx\Url parse, build, query strings, encoding, validation, normalization, comparison
Phyx\Path joining, normalization, segments, extensions, filesystem-aware checks
Phyx\Num aggregates, predicates, formatting, ranges, rounding, trigonometry
Phyx\Bytes binary-safe length, hex, base64, packing, random bytes, checksums

This README shows the shape of the API. The complete method reference lives in docs/.

Strings that behave like strings

Phyx\Str is the largest façade. It wraps common string work with consistent naming, multibyte behavior, and explicit options.

Arrays without hidden mutation

Phyx\Arr treats arrays as values. Access, path updates and transformations return a result; they do not mutate your original array by surprise.

JSON with clear failure modes

Native JSON functions mix optional exceptions, global error state, flags, and ambiguous null values. Phyx separates the strict methods from the safe try* methods.

URLs that are more than strings

Phyx\Url keeps parsing, components, query strings, encoding, validation and normalization in one vocabulary.

Paths without filesystem confusion

Phyx\Path separates syntactic path manipulation from methods that actually touch the filesystem.

HTML, numbers and bytes included

The smaller façades follow the same philosophy: concise names, clear returns, explicit options.

Design principles

Phyx deliberately stays boring in the best way:

Documentation

The README is a tour, not the manual. For full method lists, signatures, return types and edge cases, see:

Release notes

See CHANGELOG.md for tagged release history.

License

Phyx is released under the MIT License.

Development

Phyx aims to keep its public API clean enough for open-source use: readable names, complete PHPDoc, tests, static analysis, and predictable behavior before cleverness.


All versions of phyx with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-intl Version *
ext-mbstring Version *
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 antharuu/phyx contains the following files

Loading the files please wait ...