hedii/ip-checker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hedii/ip-checker

Composer 安装命令:

composer require hedii/ip-checker

包简介

Check whether an ip address can be used in a Laravel application

README 文档

README

Build Status

ip-checker

Check whether an ip address can be used in a Laravel application. Receive an email notification when an ip address does not pass the check.

Table of contents

Installation

Install via composer

composer require hedii/ip-checker

Publish and edit the configuration (config/ip-checker.php)

php artisan vendor:publish --provider="Hedii\IpChecker\IpCheckerServiceProvider" --tag="config"

Usage

Manual check

Run the package command manually

php artisan ip:check

Scheduled check

Schedule the package command to check the ip addresses at regular interval.

To check the ip addresses every hour, edit app/Console/Kernel.php

/**
 * Define the application's command schedule.
 *
 * @param \Illuminate\Console\Scheduling\Schedule $schedule
 */
 protected function schedule(Schedule $schedule)
 {
     $schedule->command('ip:check')->hourly();
 }

Testing

composer test

License

hedii/ip-checker is released under the MIT Licence. See the bundled LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固