Recommend this page to a friend! |
Download .zip |
Info | View files (5) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-02-26 (Yesterday) | Not yet rated by the users | Total: 103 This week: 18 | All time: 9,418 This week: 14 |
Version | License | PHP version | Categories | |||
boh-basic-output-han 1.0.5 | GNU General Publi... | 7.4 | HTML, PHP 5, Debug, Utilities and Tools |
Description | Author | ||||||||
This class can display the highlighted value of a given variable. |
|
<!-- __SEMANTIC_VERSION_LINE__ -->
Acronym: [BOH].
Name: Basic Output Handler.
Dependencies: Stand Alone / PHP v7.4.
[BOH] is a very simple PHP [output handler] implementation that show Human readable information instead of using the default PHP options:
This means that all the data passed is presented to the developer according to the chosen parameters. It also means that the displayed data can be directly reused as code. Comments are also generated for each value that briefly explains the type of data
Developers need the ability to decide how their code behaves when data needs to be checked. The native php Methods provide a range of information that is not reusable by the Developer or may even require more work to get the correct output for data verification.
This library handles data output proven to be extremely effective. [BOH] is a Standalone implementation that can be used for any project and does not require a third-party library or software.
if you want to collaborate with the development of the library; You can express your ideas or report any situation related to this in: https://github.com/arcanisgk/BOH-Basic-Ouput-Handler/issues
None necessary.
composer require arcanisgk/boh-basic-ouput-handler
or
composer require arcanisgk/boh-basic-ouput-handler --dev
use \IcarosNet\BOHBasicOuputHandler as Output;
require __DIR__.'\..\vendor\autoload.php';
$output = new Output\Output_Handler();
//you can define the theme to be used in the output in web or cli:
$output = new Output\Output_Handler('monokai'); //in the class Instance or
$output->Theme('monokai'); //call the method Theme
$output->output($example_array); // send the variable and library would check the best output for you.
$output->output($example_array,'web'); // or send a second argument for enviroment 'web' or 'cli'.
$output->output($example_array,'web',true); // if you need retrive the string instead of output send true in thirt param.
$output->output($example_array,'cli'); // the library support output for CLI enviroment.
$output->output($example_array,'cli',true); // an cli can retrive strings.
Unit test Pending for version v1.1.0
Files |
File | Role | Description | ||
---|---|---|---|---|
example (1 file) | ||||
src (1 file) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.