for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Health\ServiceProviders;
use Illuminate\Support\ServiceProvider;
class HealthServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
*
* @return void
*/
public function boot()
$this->setupConfig();
}
* Setup the config.
protected function setupConfig()
$source = realpath(__DIR__ . '/../../config/health.php');
$this->publishes([
$source => config_path('health.php')
]);
$this->mergeConfigFrom($source, 'health');
* Register the service provider.
public function register()
// Register health command.
$this->commands([
'Health\Commands\HealthCommand'