定制 urisavka/site-checker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

urisavka/site-checker

Composer 安装命令:

composer require urisavka/site-checker

包简介

Check site for broken links and moved/deleted files

README 文档

README

Build Status Scrutinizer Code Quality SensioLabsInsight

Recursively checks site for broken links, missing images, css and javascript files starting from giving URL and discovering all links on pages.

Installation

For console usage

git clone git@github.com:urisavka/site-checker.git && cd site-checker && composer update --no-dev

For usage in a project

composer require urisavka/site-checker

Configuration

Copy config/app.json.default into config/app.json and add whatever you want there.

You could also specify custom cookies to be sent with request.

Excluded URLs can be defined as regular expressions in PCRE format. Use excludedUrls option.

You may also include set of custom included Urls that are not accessible from your home page. Use includedUrls option.

If you define reportEmail parameter, email will be sent after checking with a list of broken links (if any). You can also define reportEMailFrom value to set From: field for your emails.

See config/app.json.default for example.

Usage

Console tool: sitechecker [-e|--check-external] [-s|--log-success] [-f|--full-html] [--] <site>

From your code:

$siteChecker = SiteChecker::create();
$siteChecker->check('http://gooogle.com');
$results = $siteChecker->getResults();

See CheckCommand and ConsoleObserver for real usage.

统计信息

  • 总下载量: 24
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固