janoszen/ipv6utils 问题修复 & 功能扩展

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

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

janoszen/ipv6utils

最新稳定版本:1.0.0

Composer 安装命令:

composer require janoszen/ipv6utils

包简介

IPv6 utilities for PHP

关键字:

README 文档

README

The aim of this project is to provide an easily usable interface to IPv6 addresses and DNS queries. This code is written to help the wide spread implementation of IPv6 and is therefore available under a number of free / open source licenses. (See below for details.)

Working with the code

Working with the code is simple. You need to put it into whatever framework you are using and autoload the classes. It comes down to two classes:

  • INET4Address - This is your IPv4 address.
  • INET6Address - This is your IPv6 address.

More documentation: http://github.janoszen.com/PHPIPv6Utils/

Coding standards

The rules are pretty simple:

  • All code is to be indented by exactly one tab per level. (Sorry space-fans, the tab character has been working in all editors for over a decade now.)
  • All opening curly brackets are to be written on the same line as the statement before it.
  • Use spaces before opening brackets, but not after them.
  • Use spaces before and after the equals sign.
  • No lines longer, than 120 characters.
  • No magic! Clean, readable code!
  • By the penalty of public harassment comment and unit test your code!

Contributing

If you have ideas for improvement, please submit an issue. If you have code to contribute, fork my project and then submit a pull request. I will attend to it as soon as possible.

By submitting a pull request, you agree, that all contributed code will be available under the terms of the copyright notice below. You grant the original author (János Pásztor) unrevocable rights to re-license the code under the terms of any open source license acknowledged as such by the Open Source Initiative.

Copyright

All original code in the src and tests directory is copyrighted by me (János Pásztor). All code contributed via GitHub pull requests is copyrighted by the original author.

All code in this repository is freely available under the terms of one of the following licenses:

  • MIT License
  • BSD Licence
  • GNU General Public License v 2.0 or newer
  • GNU Lesser General Public License v 2.1 or newer

Your choice. :)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-05