Edit this page »


  • Laravel 6.0 or higher
  • PHP 7.2.5 or higher

Getting started

Once you have created a new project from your dashboard, there are just two steps to get started.

The first step is installing the thenpingme/laravel package into the application you wish to monitor.

composer require thenpingme/laravel

Please note, if you are using Laravel 6.x you will need to use version 1.x of the package

composer require thenpingme/laravel:^1.0

The second command is unique to your project, and is responsible for identifying your scheduled tasks and configuring your application to communicate with

php artisan thenpingme:setup <project-id>

This will configure a signing secret for your application and add it to your .env file along with other configuration parameters.


Laravel Vapor

Due to the way that Laravel Vapor applications are deployed, we recommend that you run the setup step from your local environment first. This will generate your signing key and push up your scheduled tasks to

Once this step is complete, you'll need to create a THENPINGME_PROJECT_ID and THENPINGME_SIGNING_KEY for your environment, using the corresponding values that were added to your local .env file.

Remember to re-deploy your Vapor application after adding the secrets so that they are injected into your environment.

After the deployment is complete, your tasks will be able to successfully send their pings to

Unique tasks

Because tasks are configured in code rather than a database, they are more difficult to uniquely identify in certain scenarios.

Any tasks that are not able to be uniquely identified will be flagged prior to the application setup continuing. You will not be able to sync your tasks with until each has been resolved.

Job-based (job) and closure-based (call) tasks are the most likely to collide.

To avoid collision of job-based tasks, ensure they each specifiy a unique description, or run on a unique schedule.

To avoid collision of closure-based tasks, ensure they each specify a unique description.

Note that you can also verify the uniqueness of your application's tasks at any time with the thenpingme:verify command.