PHPackages                             actengage/night-watch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. actengage/night-watch

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

actengage/night-watch
=====================

The official Laravel package for the NightWatch service.

v0.5.0(4y ago)0821proprietaryPHPPHP ^7.2|^8.0

Since Jul 15Pushed 4y agoCompare

[ Source](https://github.com/ActiveEngagement/laravel-night-watch)[ Packagist](https://packagist.org/packages/actengage/night-watch)[ RSS](/packages/actengage-night-watch/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (17)Used By (0)

NightWatch
==========

[](#nightwatch)

[![PHP Composer](https://github.com/ActiveEngagement/laravel-night-watch/workflows/PHP%20Composer/badge.svg)](https://github.com/ActiveEngagement/laravel-night-watch/workflows/PHP%20Composer/badge.svg)

**What is NightWatch?**

NightWatch is a package that watches URL's while you are away or sleeping. NightWatch uses a remote Node server to check the status of remote URL's. For example, NightWatch can heck for 404 URLs, or if a Google Tag Manager has been installed correctly.

**What is included in this package?**

This package has its own factories, migrations, models, and scheduling to make tracking status of remote URL's and services easy and configurable.

Installation
------------

[](#installation)

```
composer require actengage/night-watch

php artisan vendor:publish

```

Configure the ENV
-----------------

[](#configure-the-env)

This is a private application currently, and thus the API endpoint is not included. Include the endpoint in your ENV file.

```
NIGHTWATCH_ENDPOINT_URI='https://the.night.watch.url.goes.here'

```

Kernel Scheduling
-----------------

[](#kernel-scheduling)

NightWatch makes it easy to schedule the commands. Once you have ran the migrations, add the following 1-liner to `app/Console/Kernel.php`.

```
