An open API service indexing awesome lists of open source software.

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

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