PHP code example of shershon / php-tools

1. Go to this page and download the library: Download shershon/php-tools library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

shershon / php-tools example snippets

shell script
php >= 7.1
json
{
  "rshon/php-tools": "^1.0.0"
  },
  "config": {
    "secure-http": false
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/shershon-php-package/php-tools.git"
    }
  ]
}
bash
phpunit -c phpunit.xml --colors=always tests/Cases/RedisTest.php