Download the PHP package sagittaracc/php-python-decorator without Composer
On this page you can find all versions of the php package sagittaracc/php-python-decorator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sagittaracc/php-python-decorator
More information about sagittaracc/php-python-decorator
Files in sagittaracc/php-python-decorator
Download sagittaracc/php-python-decorator
More information about sagittaracc/php-python-decorator
Files in sagittaracc/php-python-decorator
Vendor sagittaracc
Package php-python-decorator
Short Description Python style decorator for PHP
License MIT
Package php-python-decorator
Short Description Python style decorator for PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package php-python-decorator
PHP Python Decorator
Python style decorators for PHP
Requirements
PHP 8.1 or higher
Install
composer require sagittaracc/php-python-decorator
Example
How long it takes to run a method. See the Timer
decorator
This is how you can call it
Or inline
Generics
Validation
Rpc
in index.php
in terminal
Console
in the command line it would be calling for example something like this:
php index.php -c hello --name Yuriy
then in index.php
you should read the command and the parameters and after that call it like this:
All versions of php-python-decorator with dependencies
PHP Build Version
Package Version
Requires
sagittaracc/placeholder Version
^0.3
The package sagittaracc/php-python-decorator contains the following files
Loading the files please wait ....