-
Start by clicking on the 'download' link up over there to the right
-
Read through and agree to the licenses.
- One for what can't be changed
- One for what can
-
When done reading, agree and click on the download button
-
Place the [LD_Echo] folder in your project.
-
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...
-
Adjust LD_ECHO_DIRECTORY definition as needed in LD_Echo_Loader.php...
-
Generate the code to determine if the environment is a Development Environment in LD_Echo_Echo_Ability::CanEcho()
- Commented out examples provided.
-
(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
)