Download the PHP package gioco-plus/grabber-log without Composer

On this page you can find all versions of the php package gioco-plus/grabber-log. 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 grabber-log

GrabberLog

初始化

參數說明

參數 類型 說明
$vendorCode string 遊戲商代碼
$options array 請看 options 說明

$options

ex: $options['agent']

參數皆為選填

參數 類型 說明
agent string 代理
record_type string 單類型
operatorCode string 營商代碼
fail_count_notify int 錯誤次數達到時,發送 Line Notify 需設定 .envLINE_NOTIFY_ACCESS_TOKEN,通知環境請設定 SERVICE_ENV,未設定預設 unknow

紀錄開始

參數說明

參數 類型 說明
$start string 紀錄開始 id or date
$extraParams array 紀錄額外搜尋條件,若有明確的結束時間陣列 key 請使用 end

紀錄結束 (成功)

參數說明

參數 類型 說明
$extraParams array 提供完成時需額外紀錄

紀錄結束 (失敗)

參數說明

參數 類型 說明
$extraParams array 提供完成時需額外紀錄
$options array 請看 options 說明

$extraParams

ex: $extraParams['error_message']

參數皆為選填

參數 類型 說明
error_message string (300) 若有此參數,會在 Line Notify 發送時,將錯誤訊息一併送出

$options

ex: $options['maintain']

參數皆為選填

參數 類型 說明
maintain bool 是否維護,此參數 true 時,則不會計算失敗次數及發送通知。

額外功能

取得最後一筆 grabber log

參數說明

參數 類型 說明
$filter array 額外搜尋條件

取得下次抓取時間

僅適用 log 內有 startend

nextGrabber , 返回 Carbon

nextGrabberTime , 返回 timestamp 10 位

參數說明

參數 類型 說明
$past_minutes int 過去分鐘數
$longTimeRang int 最長時間範圍 (單位 min)
$options array 請看 options 說明
$options 參數 類型 說明
bufferNowMin int 距離現在時間 int (單位 min),影響結束時間(end)
coverTimeRang int 包含上次抓取時間 (單位 min)
lastLogFilter array 最後一條紀錄 filter


All versions of grabber-log with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
gioco-plus/prism-plus Version dev-master || >=1
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 gioco-plus/grabber-log contains the following files

Loading the files please wait ....