Download the PHP package jiannei/laravel-schedule without Composer

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

laravel-schedule

⏱ More flexible way to manage your Laravel schedule tasks. - 更灵活地管理 Laravel 应用中的任务调度。

StyleCI Latest Stable Version Total Downloads Monthly Downloads Version License

社区讨论文章

功能

Tips: 使用该扩展只是多了一种可以基于数据表维护任务调度的方式,不会破坏原先 Laravel 定义任务调度的方式,两种方式甚至可以组合使用。

安装和配置

使用

为了能够更容易地集成到各种项目中,该扩展包并未直接提供一个 web 界面来维护 schedules 数据表,你可以按你的方式把 schedules 的配置维护进去就好。

举例说明项目中的使用方式:

说明:

  • command,应用程序中已经定义并且需要自动调度的 command
  • parameters,对应 command 执行时指定的参数
  • expression,执行时间间隔,cron 表达式
  • active,0 开启,1 关闭
  • output_file_path,指定 command 的输出的文件路径
  • output_append,command 输出到文件时是否进行追加
  • output_email,command 输出发送邮件
  • output_email_on_failure,只在 command 执行失败时发送输出到邮件
  • 其他参数均可以在 laravel schedule 文档中找到相应的函数说明:https://laravel.com/docs/8.x/scheduling#introduction

以上,基于 schedules 数据表来管理调度任务就完成了。

协议

MIT 许可证(MIT)。有关更多信息,请参见协议文件。


All versions of laravel-schedule with dependencies

PHP Build Version
Package Version
No informations.
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 jiannei/laravel-schedule contains the following files

Loading the files please wait ....