beaverlabs / gg
PHP Debug, Logging Tools
Requires
- php: ^8.3
- ext-curl: *
- ext-json: *
- illuminate/contracts: ^9.0|^10.0|^11.0
- illuminate/database: ^9.0|^10.0|^11.0
- illuminate/log: ^9.0|^10.0|^11.0
- illuminate/queue: ^9.0|^10.0|^11.0
- illuminate/support: ^9.0|^10.0|^11.0
- rybakit/msgpack: ^0.9.1
Requires (Dev)
- fakerphp/faker: ^1.23.1
- guzzlehttp/guzzle: ^7.8.1
- laravel/framework: ^9.0|^10.44|^11.0
- laravel/pint: ^1.13
- mockery/mockery: ^1.6.7
- orchestra/testbench-core: ^8.21.1
- pestphp/pest: ^2.33.6
- phpunit/phpunit: ^10.5.10
This package is auto-updated.
Last update: 2024-03-22 13:05:14 UTC
README
This library is a PHP library required to use the GG Client. Please visit the following site: http://phpgg.kr
Important Notice
This library moved to new vendor(beaverlabs/gg) name. Please use the following command to install the library.
composer require --dev eyedroot/gg
About
GG Client is a debug client for PHP developers. Install the library and check the variables you want to output in GG Client with gg($foo);. The data storage feature allows you to retrieve it later. If you're a developer using the Laravel framework, you can automatically detect exception objects and check them directly in GG Client.
Installation and Requirements
GG Client can be used as a package installed by the composer dependency management tool. If you're a vanilla PHP developer, you can use the following command to install the library. Before installing, make sure that the PHP version of your project is higher than ^8.3. Note that the Laravel framework supports versions from ^9.0 and above.
Support PHP Version
beaverlabs/gg:v2.0.0requires PHP version^8.3beaverlabs/gg:v1.5.3requires PHP version^7.4
Porject Installation via composer
For projects that manage dependencies using composer, please install the library for your project.
composer require --dev beaverlabs/gg
Publishing GG Client
If you are using the Laravel framework, you can publish the GG Client to the public directory using the following command.
php artisan vendor:publish --provider="Beaverlabs\Gg\Providers\GgServiceProvider"
or
--force option can be used to overwrite existing files.
php artisan vendor:publish --provider="Beaverlabs\Gg\Providers\GgServiceProvider" --force
environment variables
The following environment variables are required to use the library.
GG_ENABLED=true GG_HOST=host.docker.internal GG_EXCEPTION_LISTENER=false GG_MODEL_QUERY_LISTENER=true GG_HTTP_RESPONSE_LISTENER=true