neofox / objective-php-debug-bar
PHPDebugBar integration for Objective PHP
Installs: 1 734
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- maximebf/debugbar: 1.*
- objective-php/application: 1.0.*
- objective-php/components: 1.0.*
- objective-php/fastroute-package: ^1.0.0
- objective-php/message: 0.9.*
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- jakub-onderka/php-parallel-lint: ^0.9.2
- phpro/grumphp: ^0.10.2
- phpunit/phpunit: 5.*
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2024-11-20 04:34:04 UTC
README
Project introduction
This package allow to add a php debugbar in Objective PHP
Requirement
For the moment this package will require two steps in your application:
- Route
- Rendering
Steps names will be configurable in a futur releases.
Installation
Manual
You can clone our Github repository by running:
git clone http://github.com/Neofox/objective-php-debug-bar
If you're to proceed this way, you probably don't need more explanation about how to use the library :)
Composer
The easiest way to install the library and get ready to play with it is by using Composer. Run the following command in an empty folder you just created for Primitives:
composer require --dev neofox/objective-php-debug-bar:dev-master
Usage
Now that you get the package, you need to plug it in your application (Application.php):
$this->getStep('bootstrap')->plug(DebugBarPackage::class)
And you're done!
How to test the work in progress?
Run unit tests
First of all, please always run the unit tests suite. Our tests are written using PHPUnit, and can be run as follow:
composer test
Configure the package
To be continued!