Download the PHP package synolia/sylius-scheduler-command-plugin without Composer

On this page you can find all versions of the php package synolia/sylius-scheduler-command-plugin. 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 sylius-scheduler-command-plugin

License CI - Analysis CI - Sylius Version Total Downloads

Scheduler Command Plugin

Schedule Symfony Commands in your Sylius admin panel.

Commands list

Scheduled Commands list

Features

Requirements

Version
PHP ^8.0
Sylius ^1.10

Installation

  1. Add the bundle and dependencies in your composer.json :

    composer config extra.symfony.allow-contrib true
    composer req synolia/sylius-scheduler-command-plugin
  2. Apply migrations to your database:

    bin/console doctrine:migrations:migrate
  3. Launch Run command in your Crontab

    * * * * * /_PROJECT_DIRECTORY_/bin/console synolia:scheduler-run
  4. (optional) Showing humanized cron expression

    composer require lorisleiva/cron-translator
  5. Till symfony/recipes-contrib is updated for the v3, you must add sylius_scheduler_command.yaml from install/Application/config/{packages,routes} to your project by respecting the same folder architecture.

    cp -R vendor/synolia/sylius-scheduler-command-plugin/install/Application/config/packages/* config/packages/
    cp -R vendor/synolia/sylius-scheduler-command-plugin/install/Application/config/routes/* config/routes/

Usage

Fixtures

Inside sylius fixture file config/packages/sylius_fixtures.yaml you can add scheduled command fixtures to your suite.

Commands

synolia:scheduler-run

Execute scheduled commands.

Run all scheduled commands : php bin/console synolia:scheduler-run

Run one scheduled command : php bin/console synolia:scheduler-run --id=5

synolia:scheduler:purge-history

Purge scheduled command history greater than {X} days old.

Example to remove all finished and in error scheduled commands after 7 days :

php bin/console synolia:scheduler:purge-history --state=finished --state=error --days=7

Optional services

Development

See How to contribute.

License

This library is under the MIT license.

Credits

Developed by Synolia.


All versions of sylius-scheduler-command-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
ext-json Version *
ext-intl Version *
dragonmantank/cron-expression Version ^3.0
sylius/sylius Version ^1.10
symfony/framework-bundle Version ^5.4|^6.0
symfony/lock Version ^5.4|^6.0
symfony/polyfill-intl-icu Version ^1.26
symfony/process Version ^5.4|^6.0
symfony/service-contracts Version ^1.1|^2.0|^3.0
webmozart/assert Version ^1.10
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 synolia/sylius-scheduler-command-plugin contains the following files

Loading the files please wait ....