fangxu/safety-inspection

donews safety inspection

Installs: 434

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/fangxu/safety-inspection

v1.3 2018-10-08 07:48 UTC

This package is auto-updated.

Last update: 2025-09-29 02:07:24 UTC


README

example:

Route::get("/inspection", function (Fangxu\SafetyInspection\SafetyInspection $inspection) {
    $inspection->text("新年快乐", function ($result) {
        if ($result->suggestion != "pass") {
            throw new \Exception("内容中含有不合法的字段", "405");
        }
    });
});