diff --git a/README.md b/README.md index c3d123f..39cb8eb 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,12 @@ echo $_ENV["hello"]; // echo: "world" 1. Install with composer ``` -composer install victorwesterlund/globalsnapshot +composer install vlw/globalsnapshot ``` 2. `use` in your project ```php -use victorwesterlund\GlobalSnapshot; +use vlw\GlobalSnapshot; ``` 3. Capture current superglobals with `capture()` diff --git a/composer.json b/composer.json index d743c08..42b37d6 100644 --- a/composer.json +++ b/composer.json @@ -1,18 +1,18 @@ { - "name": "victorwesterlund/globalsnapshot", + "name": "vlw/globalsnapshot", "description": "Capture and restore the state of all PHP superglobals.", "type": "library", "license": "Unlicense", "authors": [ { "name": "Victor Westerlund", - "email": "victor.vesterlund@gmail.com" + "email": "victor@vlw.se" } ], "minimum-stability": "dev", "autoload": { "psr-4": { - "victorwesterlund\\": "src/" + "vlw\\": "src/" } } } diff --git a/src/GlobalSnapshot.php b/src/GlobalSnapshot.php index a9cac1c..3e9d2a2 100644 --- a/src/GlobalSnapshot.php +++ b/src/GlobalSnapshot.php @@ -1,6 +1,6 @@