>>>> - LD_Echo - <<<<
▲  ▼  How to use

Steps:

  1. Start by clicking on the 'download' link up over there to the right Pointer to download
  2. Read through and agree to the licenses.
    • One for what can't be changed
    • One for what can
  3. When done reading, agree and click on the download button
  4. Place the [LD_Echo] folder in your project.
  5. Add the following to your project where-ever you want to use it (the root is a good idea)
    <?php require_once (__DIR__ . DIRECTORY_SEPARATOR . 'LD_Echo' . DIRECTORY_SEPARATOR . 'LD_Echo_Loader.php'); ?>
    Adjust the path as needed...
  6. Adjust LD_ECHO_DIRECTORY definition as needed in LD_Echo_Loader.php...
  7. Generate the code to determine if the environment is a Development Environment in LD_Echo_Echo_Ability::CanEcho()
    • Commented out examples provided.
  8. (optional) Make your own personal touches to other things in the EDITABLE folder.
    • Mess with the css styling to get it to your liking
    • Subclass LD_Echo, like Dev.php does with your own needs (remember environment checks!)
    -or-
    • Just use Dev::Echo() as it is like - Dev::Echo($whosamawhatsit);
      or whatever variable you want, somewhere in the code

And this is the most important step.

When you find how much you love this, and how much easier it makes your life;

  • Come back here and feed my caffeine addiction (aka: buy me a cup of coffee Pointer to download)