Download the PHP package mylk/chronis without Composer

On this page you can find all versions of the php package mylk/chronis. 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 chronis

Chronis

As cron expressions are not easy to understand and write, Chronis will help you define cron jobs using natural language and will generate crontab files for you.

This will also allow you to verison control your cron job definitions in a structured file (YAML) and generate crontabs during your deployment process.

Usage

Prerequisites

PHP 7 is required for Chronis to run.

Installing

To include Chronis in your PHP project:

You can also install Chronis as a global command and not as a project's dependency:

Run

To execute Chronis and get some help:

To execute Chronis when installed as a global command, first make sure that $HOME/.config/composer/vendor/bin/ is in your system's $PATH. Then you can execute Chronis from anywhere:

Then, you will need to have a yaml file to define your cron jobs. You can begin with this as an example.

To dump the crontab:

To export the crontab:

The --output argument is not necessary. If not given, the crontab will be exported to a file named crontab in the current directory.

Contributing

Chronis is open source and of course you can contribute. Just fork the project, have fun and then create a pull request.

A Makefile has been created to group some tasks needed for development. Find those tasks below.

Running the tests

Syntax checks

Coding style checks

The coding style that is followed is PSR-2.

Quality checks

Built With

Versioning

SemVer is used for versioning. For the versions available, see the tags.

Authors

See the list of contributors.

License

This project is licensed under the GPLv2 License - see the LICENSE file for details.


All versions of chronis with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
symfony/console Version ^4.3
bentools/natural-cron-expression Version ^1.0
symfony/yaml Version ^4.3
symfony/dependency-injection Version ^4.3
symfony/config Version ^4.3
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 mylk/chronis contains the following files

Loading the files please wait ....