定制 janrydrych/github-repo-lister 二次开发

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

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

janrydrych/github-repo-lister

Composer 安装命令:

composer create-project janrydrych/github-repo-lister

包简介

Testing purposes

README 文档

README

Gets Github repo list and logs each search.

Requirements

  • PHP 7.0+
    • PDO (PHP Data Objects) extension (pdo)

Installation

  1. Include the library via Composer :

    $ composer create-project janrydrych/github-repo-lister .
    
  2. Configuration directives can be changed in the Configuration class. Feel free to modify it according to your needs and desired database platform.

  3. The project uses delight-im/PHP-Auth, so the database for the authentication has to be created. The DSN and credentials are set in Configuration and even the database schema is available for SQLite and MySQL as well, so basically create DB on your favourite platform and import the schema.

  4. New users for the delight-im/PHP-Auth can be created according to its documentation or the project contains small utility file user-creator.php for such a purpose (edit the file, insert desired username credentials and run it).

  5. Remove the user-creator.php.

  6. Data storage database is initialized automatically, even if you delete it.

Usage

There are three main files:

  1. repo-list.php which shows the list of public repositories for user.

  2. search-log.php which shows paginated list of api queries that has been made.

  3. log-purge.php which is authenticated (see Installation 3. and 4.) and deletes logs that are older than entered hours.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固