studio / laravel-totem
A Laravel package to manage your cron jobs through a beautiful dashboard
Installs: 1 065 449
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1 815
Watchers: 35
Forks: 224
Open Issues: 2
pkg:composer/studio/laravel-totem
Requires
- php: ^8.2.0
- ext-json: *
- illuminate/bus: ^10.0|^11.0|^12.0
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/contracts: ^10.0|^11.0|^12.0
- illuminate/database: ^10.0|^11.0|^12.0
- illuminate/events: ^10.0|^11.0|^12.0
- illuminate/notifications: ^10.0|^11.0|^12.0
Requires (Dev)
- laravel/slack-notification-channel: ^3.7
- laravel/vonage-notification-channel: ^3.3
- orchestra/testbench: ^8.0|^9.0|^10.0
- phpunit/phpunit: ^10.0|^11.0|^12.0
Suggests
- laravel/slack-notification-channel: Required for Slack notifications.
- laravel/vonage-notification-channel: Required for SMS notifications via Vonage.
- 12.x-dev
- v12.0.1
- v12.0.0
- 11.x-dev
- v11.3.0
- v11.2.0
- v11.1.3
- v11.1.2
- v11.1.1
- v11.1.0
- v11.0.0
- 10.x-dev
- v10.0.2
- v10.0.1
- v10.0.0
- v9.1.1
- v9.1.0
- 9.0.x-dev
- v9.0.0
- v8.4.2
- v8.4.1
- v8.4.0
- v8.3.3
- v8.3.2
- v8.3.1
- v8.3.0
- v8.2.0
- v8.1.4
- v8.1.3
- v8.1.2
- v8.1.1
- 8.0.x-dev
- v8.0.5
- v8.0.4
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0
- 7.0.x-dev
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- 6.0.x-dev
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.3.1
- v5.3.0
- v5.2.0
- v5.1.0
- 5.0.x-dev
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- 4.0.x-dev
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.3.1
- v3.3.0
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- 3.0.x-dev
- v3.0.2
- v3.0.1
- v3.0.0
- v2.4.1
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3
- v2.2.2
- v2.2.1
- v2.2
- v2.1.0
- 2.0.x-dev
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- 1.0.x-dev
- v1.0.2
- v1.0.1
- v1.0.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.4.0
- v0.3.0
- v0.1.0
- dev-analysis-nKZY4w
- dev-feature/modernize
- dev-analysis-nKZRxO
- dev-feature/schedule-view
- dev-analysis-pEN4eW
- dev-hotfix/use-collection-count
- dev-analysis-m4Jlra
This package is auto-updated.
Last update: 2026-02-25 21:47:36 UTC
README
Introduction
Manage your Laravel Schedule from a pretty dashboard. Schedule your Laravel Console Commands to your liking. Enable/Disable scheduled tasks on the fly without going back to your code again.
Documentation
Compatibility Matrix
| Laravel | Totem |
|---|---|
| 12.x | 11.x |
| 11.x | 11.x |
Requirements
- PHP 8.2+
- Laravel 11.x or 12.x
Installing
Use composer to install Totem into your Laravel project:
composer require studio/laravel-totem
Once Laravel Totem is installed, run the migration and publish the assets:
php artisan migrate
php artisan totem:assets
Updating
Republish Totem assets after updating to a new version:
php artisan totem:assets
Configuration
Cron Job
This package assumes that you have a good understanding of Laravel's Task Scheduling and Laravel Console Commands. Before any of this works please make sure you have a cron running as follows:
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
Web Dashboard
Laravel Totem's dashboard is inspired by Laravel Horizon. Just like Horizon you can configure authentication to Totem's dashboard. Add the following to the boot method of your AppServiceProvider:
use Studio\Totem\Totem; Totem::auth(function($request) { // return true / false . For e.g. return Auth::check(); });
By default Totem's dashboard only works in the local environment. To view the dashboard point your browser to /totem of your app.
Table Prefix
Totem's tables use generic names which may conflict with existing tables in a project. To alleviate this the .env param TOTEM_TABLE_PREFIX can be set which will apply a prefix to all of Totem's tables and their models.
Cache Store
By default Totem uses your application's default cache store. In environments where UI servers and background worker servers use separate cache clusters (e.g. different Redis instances), Totem's cache can become inconsistent — a bust event on one server won't clear the cache on the other.
Set TOTEM_CACHE_STORE to a named store from your config/cache.php that is accessible by all servers:
TOTEM_CACHE_STORE=redis-shared
Setting it to array disables cache persistence entirely (each request hits the database):
TOTEM_CACHE_STORE=array
Leaving it unset uses your application's default cache store (existing behaviour).
Filter Commands Dropdown
By default Totem outputs all Artisan commands on the Create/Edit tasks. To make this dropdown more concise there is a filter config feature that can be set in the totem.php config file.
Example filters:
'artisan' => [ 'command_filter' => [ 'stats:*', 'email:daily-reports' ], ],
This feature uses fnmatch syntax to filter displayed commands. stats:* will match all Artisan commands that start with stats: while email:daily-reports will only match the command named email:daily-reports.
This filter can be used as either a whitelist or a blacklist. By default it acts as a whitelist but an option flag can be set to instead act as a blacklist:
'artisan' => [ 'command_filter' => [ 'stats:*', 'email:daily-reports' ], 'whitelist' => false, ],
Middleware
Laravel Totem uses the web middleware by default. If customization is required the middleware can be changed by setting the TOTEM_WEB_MIDDLEWARE value in your .env. These values can be found in config/totem.php.
Notifications
Totem can send notifications when a task completes. Email notifications are included out of the box. For SMS (Vonage) or Slack notifications, install the relevant package:
composer require laravel/vonage-notification-channel
composer require laravel/slack-notification-channel
Making Commands Available in Laravel Totem
All artisan commands are available for scheduling. If you want to hide a command from Totem set the hidden attribute to true in your command:
protected $hidden = true;
Command Parameters
If your command requires arguments or options use the optional command parameters field. You can provide parameters as a string in the following format:
name=john.doe --greetings='Welcome to the new world'
In the example above, name is an argument while greetings is an option.
Console Command
Totem provides an artisan command to view a list of scheduled tasks:
php artisan schedule:list
Screenshots
Task List
Task Details
Edit Task
Artisan Command to view scheduled tasks
Changelog
Important versions listed below. Refer to the Changelog for a full history of the project.
Credits
Bug reports, feature requests, and pull requests can be submitted by following our Contribution Guide.
Contributing & Protocols
License
This software is released under the MIT License.
© 2025 Roshan Gautam, All rights reserved.




