php-ion / ionizer
This package is abandoned and no longer maintained.
The author suggests using the phpion/ionizer package instead.
Ionize your PHP code! PHP wrapper for php-ion extension
1.0.5
2017-09-21 21:23 UTC
Requires
- php: >=7.0
- koda/koda: 2.*
This package is not auto-updated.
Last update: 2022-02-01 13:09:57 UTC
README
Ionize your PHP code!
TL;DR
This library automatically configure and setup the php ion extension. Using command line you may start scripts with php ion extension without installation of package in system. Also ionizer allows maintain php-ion versions and configurations.
Install
composer global require php-ion/ionizer
Basic Usage
ion run <file.php>
— parse and execute the specified file, likephp <file.php>
ion eval <php-code>
— evaluate a string as PHP code, likephp -r <code>
ion info
— show summary infoion versions
,ion versions all
- show available versionsion version <ion-version>
- switch to specific version- and more, see
ion help
Advanced usage
Build extension:
ion build
build extensionion build .
,ion build /tmp/php-ion-src/
ion build master
,ion build 0.8.3
,ion build 33b1e417
ion test
test extensionion test
test the current extensionion test .
,ion test /tmp/php-ion-src/
ion test master
,ion test 0.8.3
,ion test 33b1e417
ion clean
clean after build