https://github.com/javanile/php-global-var
👷 Replacement strategy of messy code because of the global
https://github.com/javanile/php-global-var
bad-practices best-practices depenecy-injection globals php replacement strategy
Last synced: 5 months ago
JSON representation
👷 Replacement strategy of messy code because of the global
- Host: GitHub
- URL: https://github.com/javanile/php-global-var
- Owner: javanile
- License: mit
- Created: 2020-05-09T00:33:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-09T10:29:38.000Z (over 4 years ago)
- Last Synced: 2025-07-13T17:22:17.144Z (5 months ago)
- Topics: bad-practices, best-practices, depenecy-injection, globals, php, replacement, strategy
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Global Var
This project supports replacement into old PHP code written with abuse of `global` directive, and give a strategy to step by step remove and refacoty code in a modern way.
## Installation
```shell
composer require javanile/php-global-var
```
## Usage
```php