PHPackages                             acdphp/laravel-schedule-police - 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. [CLI &amp; Console](/categories/cli)
4. /
5. acdphp/laravel-schedule-police

ActiveLibrary[CLI &amp; Console](/categories/cli)

acdphp/laravel-schedule-police
==============================

Stop, start or execute scheduled commands from a simple dashboard without redeploying, while maintaining the visibility, control, and reviewability of the configurations in your codebase.

v2.1.0(2mo ago)5223.5k↑97.1%7MITPHPPHP ^8.2CI passing

Since Dec 16Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/acdphp/laravel-schedule-police)[ Packagist](https://packagist.org/packages/acdphp/laravel-schedule-police)[ RSS](/packages/acdphp-laravel-schedule-police/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (7)Dependencies (16)Versions (8)Used By (0)

Laravel Schedule Police
=======================

[](#laravel-schedule-police)

[![Latest Stable Version](https://camo.githubusercontent.com/cd02e93ae7ee2a24ed92dfdd03c0d3b8cc33705c10345c5ce8f07da053f8493e/68747470733a2f2f706f7365722e707567782e6f72672f6163647068702f6c61726176656c2d7363686564756c652d706f6c6963652f76)](https://packagist.org/packages/acdphp/laravel-schedule-police)

Use this if you need to:

- ✅ Stop and start scheduled commands without redeploying.
- ✅ Execute commands without going into server console.
- ✅ Keep the visibility, control, and reviewability of the schedule configurations in your codebase.

### Compatibility Matrix

[](#compatibility-matrix)

LaravelSchedule Police11.x ~ 13.x2.x8.x ~ 10.x1.xInstallation
------------

[](#installation)

1. Install the package

    ```
    composer require acdphp/laravel-schedule-police
    ```
2. Run the migration.

    ```
    php artisan migrate
    ```
3. Publish assets

    ```
    php artisan vendor:publish --tag=schedule-police-assets --force
    ```

Config
------

[](#config)

You may override the config by publishing it.

```
php artisan vendor:publish --tag=schedule-police-config
```

You may also just define environment variables if you don't need to publish the config.

- Disable command execution in the dashboard.

```
SCHEDULE_POLICE_ALLOW_EXECUTE_CMD=false
```

- Add prefix to routes.

```
SCHEDULE_POLICE_URL_PREFIX=your-prefix
```

Dashboard
---------

[](#dashboard)

After installation, you may access the dashboard via the `/schedule-police` route.

### Authorization

[](#authorization)

By default, you will only be able to access this dashboard in the local environment. However, you may specify authorization for non-local environments by defining `viewSchedulePolice` gate, typically within the `boot` method of the `App\Providers\AuthServiceProvider` class.

```
public function boot(): void
{
    Gate::define('viewSchedulePolice', function (User $user) {
        // return true or false
    });
}
```

Screenshots
-----------

[](#screenshots)

### Events list page

[](#events-list-page)

[![events page](./.docs/screenshots/screenshot-events-page.png)](./.docs/screenshots/screenshot-events-page.png)

### Execute page

[](#execute-page)

[![execute page](./.docs/screenshots/screenshot-execute-page.png)](./.docs/screenshots/screenshot-execute-page.png)

---

Testing
-------

[](#testing)

```
composer test

# with docker-compose
docker-compose run --rm test-php84
```

Linting and static analysis
---------------------------

[](#linting-and-static-analysis)

```
composer lint

# with docker-compose
docker-compose run --rm lint
```

Lint Fix
--------

[](#lint-fix)

```
composer lint-fix

# with docker-compose
docker-compose run --rm lint-fix
```

---

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance85

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~142 days

Recently: every ~183 days

Total

7

Last Release

78d ago

Major Versions

v1.0.1 → v2.0.02024-04-16

PHP version history (2 changes)v1.0.0PHP ^8.0

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/145334055?v=4)[Acdphp](/maintainers/acdphp)[@acdphp](https://github.com/acdphp)

---

Top Contributors

[![cdinopol](https://avatars.githubusercontent.com/u/49012962?v=4)](https://github.com/cdinopol "cdinopol (7 commits)")[![jagmarbra](https://avatars.githubusercontent.com/u/157471805?v=4)](https://github.com/jagmarbra "jagmarbra (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/acdphp-laravel-schedule-police/health.svg)

```
[![Health](https://phpackages.com/badges/acdphp-laravel-schedule-police/health.svg)](https://phpackages.com/packages/acdphp-laravel-schedule-police)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[ronasit/laravel-entity-generator

Provided console command for generating entities.

2053.1k](/packages/ronasit-laravel-entity-generator)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
