https://github.com/firehed/php7ize
A CLI tool to upgrade your existing code to PHP7
https://github.com/firehed/php7ize
Last synced: about 1 year ago
JSON representation
A CLI tool to upgrade your existing code to PHP7
- Host: GitHub
- URL: https://github.com/firehed/php7ize
- Owner: Firehed
- Created: 2015-05-24T06:14:45.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T23:47:40.000Z (over 8 years ago)
- Last Synced: 2025-03-24T09:21:10.216Z (about 1 year ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 14
- Watchers: 4
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
php7ize
=====
php7ize is a command-line utility for quickly adding PHP7 features to a PHP5 codebase.
Installation
-----
The only officially-supported method of installation is via Composer and Packagist.
Because this is not intended to be treated as a project dependency, it's recommended to be installed globally:
composer global require firehed/php7ize
If you have not already done so, add Composer's global `bin` directory to your `PATH`:
# ~/.bash_profile
export PATH=$PATH:~/.composer/vendor/bin
Usage
-----
(more details coming soon)
Updating
-----
Use Composer's global update mechanism:
composer global update
Contributing
-----
Please see more information in CONTRIBUTING.md
Future features
-----
All features are subject to change.
Feel free to add a suggestion by adding a Github issue.
* Drastically improve the internal implementation (use/access an AST?)
* Improve/test type hint for variadic functions
* Add test coverage for interfaces, traits, and abstract classes
* Auto-rename PHP4-style constructors?