Download the PHP package colorium/runtime without Composer
On this page you can find all versions of the php package colorium/runtime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download colorium/runtime
More information about colorium/runtime
Files in colorium/runtime
Download colorium/runtime
More information about colorium/runtime
Files in colorium/runtime
Vendor colorium
Package runtime
Short Description Runtime resolver library
License MIT
Homepage https://github.com/colorium/runtime
Package runtime
Short Description Runtime resolver library
License MIT
Homepage https://github.com/colorium/runtime
Please rate this library. Is it a good library?
Informations about the package runtime
Callable resolver and annotation parser
- Read docblock annotations
- Resolve any callable into a formalized
Invokable
instance
Exemple :
Annotation
Read any meta tag existing in docblock.
The value is automaticaly and recursively casted as string
, int
, float
, bool
, array
or object
.
Resolver
Translate any valid callable into a resource instance. Callable can be :
- an user closure:
function(){}
- an existing function name:
'function_name_that_exists'
- a class-method couple name:
'Classname::method'
- a class-method couple array name:
['Classname', 'method']
- a class-method couple array instance:
[$instance, 'method']
- an invokable class name:
'Classname'
(same asClassname::__invoke
) - an invokable class instance:
$instance
(same as[$instance, '__invoke']
)
Install
composer require colorium/runtime
All versions of runtime with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package colorium/runtime contains the following files
Loading the files please wait ....