承接 zeliard91/orange-hotspot 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

zeliard91/orange-hotspot

Composer 安装命令:

composer require zeliard91/orange-hotspot

包简介

Orange hotspot connexion util

README 文档

README

Php command line utilities to check and login to orange public hotspots. Usefull to maintain connexion.

Requirements

  • PHP CLI v5.3.3 minimum
  • You have to be associated with the hotspot, theses scripts only cares about the authentification process

Installation

Installation is a quick process, you just have to install it whith composer :

$ php composer.phar create-project --prefer-dist zeliard91/orange-hotspot ./orange-hostpost dev-master

Configuration

The only configuration variables are the credentials to login to an orange hostpot. (email adress and password) The install process should have asked you these values.

If you want to modify them, they are in the YAML file app/config/parameters.yml

# app/config/parameters.yml
parameters: 
    login: email@orange.fr
    pass: secret

Usage

All commands are non verbose by default, don't forget to add the -v option to see information messages, they are anyway send to syslog.

Verification

$ php app/console orange:status -v

Send request to www.google.com and check if this is really google (Orange hostposts redirects to the authentification page if you are not logged in)

Check and login

$ php app/console orange:check -v

If you're not logged in, this command submits your credentials to authenticate.

Disconnect

$ php app/console orange:logout -v

Just for fun.

Maintain connexion

If you want to maintain the connexion, you just have to call regulary the check command by crontab :

*/5 * * * * /usr/bin/php /fullpath/app/console orange:check

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固