Download the PHP package trogers1884/laravel-schedule-mgt without Composer

On this page you can find all versions of the php package trogers1884/laravel-schedule-mgt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-schedule-mgt

Laravel Schedule Management

A Laravel package for managing scheduled tasks through file storage, allowing dynamic configuration of Laravel's task scheduler without code changes.

Features

Requirements

Installation

You can install the package via composer:

The package will automatically register its service provider.

Configuration

Publish the configuration file:

This will create a config/schedule-mgt.php file with the following contents:

Laravel Version-Specific Setup

Laravel 11

Add to your routes/console.php:

Laravel 10

Add to your app/Console/Kernel.php in the schedule method:

Important Notes

Usage

Managing Tasks via Console Commands

List All Tasks

Add a New Task

Options:

Toggle Task Status

Remove a Task

This will completely remove the task with ID 1. You'll be asked to confirm before the task is removed. This action cannot be undone.

Frequency Methods

You can use any of Laravel's schedule frequency methods:

Available Constraints

You can add any of Laravel's schedule constraints:

Example Tasks

Basic Daily Task

Weekly Backup with Parameters

Hourly Task with Multiple Constraints

Testing the Package

Run the test suite:

Uninstallation

To completely remove the package from your Laravel project:

  1. Remove your schedule configuration from your Laravel project:

    • For Laravel 11: Remove the ScheduleManager::schedule(); line from routes/console.php
    • For Laravel 10: Remove the ScheduleManager::schedule(); line from app/Console/Kernel.php
  2. Remove the published configuration file:

  3. Remove the stored task data (optional):

  4. Uninstall the package via composer:

Security

If you discover any security related issues, please use the issue tracker located at https://github.com/trogers1884/laravel-schedule-mgt/issues .

Credits

License

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


All versions of laravel-schedule-mgt with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package trogers1884/laravel-schedule-mgt contains the following files

Loading the files please wait ....