Antonio Ribeiro
Antonio Ribeiro
Needs more testing and maybe write some tests for it.
Just edited to add a bug fix included in this PR too
Yeah, maybe I took a wrong turn at some point? What happened to me is that uploading images was working, but then the CMS was not able to display them,...
@ifox , I also stumbled into the error I'm just added to this PR description: https://github.com/area17/twill/pull/899. So now disabling all config I made (about this) and leaving only the `.env`...
Never tested it with SMS, but it uses Laravel's notification system, so it should be at least compatible with Nexmo. How are you configuring it? ``` 'channels' => ['mail', 'slack'],...
You can probably do ``` php $generalHealthState = app('pragmarx.health')->checkResources(); // or $databaseHealthy = app('pragmarx.health')->checkResource('database')->isHealthy(); ```
Also: ``` php Artisan::command('database:health', function () { app('pragmarx.health')->checkResource('database')->isHealthy() ? $this->info('database is healthy') : $this->info('database is in trouble') ; })->describe('Check database health'); ```
Yeah, I like it! I would for sure accept a PR for this feature, but unsure when I would have time to build it.
I like the idea. But it would also require it to have those resource files duplicated by environment, maybe have a common folder for those common resources and one for...
That could be a nice feature for Health. Thanks, @damms005!