PHP code example of nightowl / agent
1. Go to this page and download the library: Download nightowl/agent library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nightowl / agent example snippets
xml
<!-- phpunit.xml -->
<php>
<env name="NIGHTOWL_ENABLED" value="false"/>
</php>
bash
php artisan nightowl:migrate
bash
php artisan nightowl:test-alert # every enabled channel
php artisan nightowl:test-alert --channel="Ops email"