定制 net_bazzline/unique_number_repository 二次开发

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

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

net_bazzline/unique_number_repository

最新稳定版本:0.13.0

Composer 安装命令:

composer require net_bazzline/unique_number_repository

包简介

free as in freedom unique number repository (web service and client) written in php

README 文档

README

I still like the idea but there is currently no use case to develop it anymore.

Unique Number Repository Webservice

Sometimes, you simple need to make sure you can fetch a unique number for a given problem scope. To easy things up, this project will create a rest based webservice as backend and a command line frontend to support you solving this problem.

REST Based Backend (Server)

  • endpoint s
    • "/unique-number-repository"
      • DELETE: deleted a repository and all its unique numbers
      • GET: returns list of all repository names
      • PUT: creates a new repository
    • "/unique-number-repository/{name}"
      • DELETE: deletes a number from this repository
      • GET: returns list of all numbers from this repository
      • PUT: creates a new number for this repository

Command Line Based Frontend (Client)

Install

By Hand

mkdir -p vendor/net_bazzline/unique_number_repository
cd vendor/net_bazzline/unique_number_repository
git clone https://github.com/bazzline/unique_number_repository .

With Packagist

composer require net_bazzline/unique_number_repository:dev-master

Configure

By Hand

cd <project root>/configuration
cp client.local.php.dist client.local.php
#adapt client.local.php
cp server.local.php.dist server.local.php
#adapt server.local.php

With setup

cd <project root>
./configuration/setup

Benefits

  • implement token authentication (you can and should override the existing token by creating your own client.local.php and server.local.php in configuration)

API

API is available at bazzline.net.

Thanks

History

  • upcomming
    • @todo
      • multiple storage (databases) are supported (right now, file storage is supported)
      • return the right status code (403 instead of 404) if a user tries to delete a number he does not own
  • 0.13.0 - released at 06.03.2016
    • moved to psr-4 autoloading
  • 0.12.3 - released at 18.12.2015
    • updated dependency
  • 0.12.2 - released at 19.11.2015
    • updated dependency
  • 0.12.1 - released at 18.11.2015
    • updated dependency
  • 0.12.0 - released at 30.09.2015
    • changed "not authorized" http status code from wrong 403 to right 401
    • introduced right usage of 403
  • 0.11.0 - released at 20.09.2015
    • added restriction that only the creator (repository or number) can delete the resource
  • 0.10.4 - released at 16.09.2015
    • fixed issue in authorization request
    • made https an optional requirement
    • updated README.md
    • updated dependency
  • 0.10.3 - released at 14.09.2015
    • added API section
    • updated dependencies
  • 0.10.2 - released at 13.09.2015
    • added setup script to easy up after installation configuration
  • 0.10.1 - released at 13.09.2015
    • fixed authentication problem
  • 0.10.0 - released at 13.09.2015
    • downgraded to silex 1.2 to support php 5.3.3
    • fixed broken links
    • increased compatibility by using '/usr/bin/env' for client code
    • removed unused dependencie
  • 0.9.0 - released at 12.09.2015
    • silix based server/backend

Final Words

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. Donate something if you love it :-].

net_bazzline/unique_number_repository 适用场景与选型建议

net_bazzline/unique_number_repository 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 3, 最近一次更新时间为 2015 年 09 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「rest」 「cli」 「repository」 「shell」 「service」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 net_bazzline/unique_number_repository 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 net_bazzline/unique_number_repository 我们能提供哪些服务?
定制开发 / 二次开发

基于 net_bazzline/unique_number_repository 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-09-14