Download the PHP package thelia/web-scheduler-module without Composer

On this page you can find all versions of the php package thelia/web-scheduler-module. 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 web-scheduler-module

WebScheduler — Thelia module

Trigger Symfony Console commands from signed HTTP URLs, with an execution strategy that adapts to the hosting's capabilities.

Designed for shared hostings (Infomaniak, OVH mutualisé, …) that only offer web-based scheduled tasks and no real cron.

How it works

The hosting's scheduler hits a signed URL on your Thelia site. The module authenticates the request (HMAC-SHA256 signature with a short time window), picks the best available execution strategy and runs the configured command.

Three strategies are available. The auto strategy (default) picks the best one supported by the hosting — detected and cached at runtime.

Strategy Requires Behaviour
cli_fork proc_open + a PHP CLI binary Spawns nohup php Thelia <cmd> & detached from the HTTP worker. HTTP responds in milliseconds. Best choice for long-running syncs.
fastcgi_finish fastcgi_finish_request Responds to the client, flushes the PHP-FPM buffer, then runs the command in-process (via an external process if proc_open is allowed, in-process Thelia Application otherwise).
sync none Runs the command in the HTTP request and returns the output. Limited by PHP's max_execution_time. Last-resort fallback.

Features

Install

Activate the module in the back-office → Modules.

Quick start

  1. Back-office → Tools → Web Scheduler
  2. Create a task — pick a command (auto-completed from your registered Symfony commands), set optional arguments, choose auto strategy.
  3. On save, the secret is revealed once — store it if you ever need to sign URLs outside the module.
  4. Copy the Trigger URL from the task list (or from the task edit page).
  5. Paste that URL into your hosting's scheduled-tasks panel.

Infomaniak example

On Infomaniak's "Planifier une tâche" panel:

Paste the URL once and let Infomaniak call it on its schedule. The URL is stable — there is no timestamp or expiry. If the URL ever leaks and you want to invalidate it, hit Regenerate secret in the task form: the slug stays the same, the signature changes, every previously-copied URL stops working.

Security model

Dev notes

License

LGPL-3.0-or-later


All versions of web-scheduler-module with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
thelia/installer Version ~1.1
symfony/lock Version ^6.4 || ^7.0
symfony/process Version ^6.4 || ^7.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 thelia/web-scheduler-module contains the following files

Loading the files please wait ...