Download the PHP package alecrabbit/php-accessories without Composer
On this page you can find all versions of the php package alecrabbit/php-accessories. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alecrabbit/php-accessories
More information about alecrabbit/php-accessories
Files in alecrabbit/php-accessories
Package php-accessories
Short Description PHP Accessories: Classes etc.
License MIT
Informations about the package php-accessories
PHP accessories
Installation
Usage
for details see examples
Features
Caller::class
Gets a caller Class::method()
or function()
or Undefined
Note:
CallerData::class
can be casted to string
You can set your custom formatter for string casting:
Note:
CustomFormatter::class
should implementCallerDataFormatterInterface
Circular::class
Helper class to get values in a circle
Note:
Circular::__construct
can acceptarray
,Rewindable
or callable which returns\Generator
Rewindable::class
Rewindable generator helper class
G::class
Contains generator functions
R::class
Contains rewindable generator functions
Pretty::class
String formatter, e.g. percent, bytes and time(seconds, microseconds, nanoseconds)
Note: time formatting methods of
Pretty::class
named by units they are accepting
MemoryUsage::class
Helper class to get memory usage
You can set your custom formatter for string casting:
Note:
CustomFormatter::class
should implementMemoryUsageReportFormatterInterface
Note: Parameter
$options
has no effect onMemoryUsageReportFormatter
All versions of php-accessories with dependencies
alecrabbit/php-helpers Version ^0.6 || ^0.7 || ^0.8
alecrabbit/php-reports Version ^0.3
alecrabbit/php-traits Version ^0.3