PHPackages                             javanile/php-global-var - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. javanile/php-global-var

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

javanile/php-global-var
=======================

Replacement strategy of messy code because of the global

0.0.1(6y ago)1171MITPHPPHP &gt;=5.3.0

Since May 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/javanile/php-global-var)[ Packagist](https://packagist.org/packages/javanile/php-global-var)[ Docs](https://github.com/javanile/php-global-var)[ RSS](/packages/javanile-php-global-var/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

PHP Global Var
==============

[](#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
------------

[](#installation)

```
composer require javanile/php-global-var
```

Usage
-----

[](#usage)

```
