Docker environment for Laravel/Statamic package development
I’ve recently added a new feature to Vigilant, health checks. Vigilant is an open source monitoring application that is designed to monitor all aspects of a website. With health checks we can verif...

Source: DEV Community
I’ve recently added a new feature to Vigilant, health checks. Vigilant is an open source monitoring application that is designed to monitor all aspects of a website. With health checks we can verify if critical processes are running such as a Laravel scheduler or Redis connection. Additionaly alongside these boolean type of checks I’ve added metrics which allow us to expose basic system statistics such as cpu, memory and disk space. We can even add the size of the log files in the app to get notified when these values peak! I created a healthcheck-base package to define a common interface. Framework-specific packages build on top of this and integrate seamlessly, while remaining usable without Vigilant. Then separate packages which add Laravel or Statamic specific checks at: These are designed to work without Vigilant but integrate seamlessly. Package development The usual method for package development would be to add the directory as a composer repository in an existing project and l