承接 davispeixoto/maxmind-db-reader 相关项目开发

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

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

davispeixoto/maxmind-db-reader

Composer 安装命令:

composer require davispeixoto/maxmind-db-reader

包简介

Laravel 4 MaxMind DB Reader port

README 文档

README

This Laravel 4 package provides a simple interface for MaxMind DB Reader.

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require davispeixoto/maxmind-db-reader.

"require": {
	"laravel/framework": "4.1.*",
	"davispeixoto/maxmind-db-reader": "dev-master"
},
"minimum-stability" : "dev"

Next, update Composer from the Terminal:

composer update

Once this operation completes, still in Terminal run:

php artisan config:publish davispeixoto/maxmind-db-reader

Update the settings in the generated app/config/packages/davispeixoto/maxmind-db-reader configuration file with the location of your maxmind db file.

Finally add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Davispeixoto\MaxmindDbReader\MaxmindDbReaderServiceProvider'

That's it! You're all set to go. Just use:

Route::get('/test', function() {
	echo print_r(MaxmindDbReader::get($_SERVER['REMOTE_ADDR']) , true);
});

License

This MaxMind DB Reader port is open-sourced software licensed under the MIT license

Versioning

This projetct follows the Semantic Versioning

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固