Download the PHP package salient/utils without Composer
On this page you can find all versions of the php package salient/utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download salient/utils
More information about salient/utils
Files in salient/utils
Download salient/utils
More information about salient/utils
Files in salient/utils
Vendor salient
Package utils
Short Description The utilities component of the Salient toolkit
License MIT
Package utils
Short Description The utilities component of the Salient toolkit
License MIT
Please rate this library. Is it a good library?
Informations about the package utils
salient/utils
The utilities component of the Salient toolkit
salient/utils provides utility methods via the stateless classes below.
If your project uses
File::find()orFile::pruneDir(), salient/iterators must also be installed.
Arrworks with arrays and other iterables.Dateworks with date and time values, timezones and intervals.Debuggets data from the call stack.Envmanipulates environment variables, loads values from.envfiles, and applies values from the environment to the script.Fileworks with files, streams and paths, and provides filesystem function wrappers that throw an exception on failure.Formatmakes data human-readable.Getextracts, converts and generates data. For example:Get::coalesce()is similar to the SQLCOALESCE()functionGet::code()improves uponvar_export()Get::copy()gets a deep copy of an objectGet::eol()gets a string's end-of-line sequenceGet::uuid()generates or converts a UUID
Inflectconverts English words to different forms, e.g. from singular to plural.Jsonprovides JSON function wrappers that throw an exception on failure.Packageretrieves information from Composer's runtime API, e.g. the name of the root package.Reflectworks with PHP's reflection API.Regexprovidespreg_*()function wrappers that throw an exception on failure.Strmanipulates strings. For example:Str::expandLeadingTabs()expands leading tabs to spacesStr::matchCase()matches the case of one string to anotherStr::ngrams()gets a string's n-gramsStr::snake()converts a string to snake_caseStr::splitDelimited()safely splits strings that contain delimiters
Sysretrieves information about the runtime environment, and provides a handler for exit signals (SIGTERM,SIGINTandSIGHUP).Testperforms tests on values.
Documentation
[API documentation][api-docs] for salient/utils tracks the main branch of
the toolkit's GitHub repository, where further documentation can also
be found.
[api-docs]: https://salient-labs.github.io/toolkit/namespace-Salient.Utility.html
All versions of utils with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
composer-runtime-api Version ^2.2
composer-runtime-api Version ^2.2
The package salient/utils contains the following files
Loading the files please wait ...