Giter Site home page Giter Site logo

php_scripts_github's Introduction

PHP Scripts GitHub

Scripts to retrieve information from the Github repositories.

Maintainability

Requirements

  • PHP 7.1 or newer
  • Composer

Installation

Git clone the repository or download.

Run the composer install command:

composer install

Usage

Get a list of available commands

Get a list of available commands:

bin/github list

Get a list of repositories

Get a list of repositories for the given team name:

bin/github repo:list --access-token='GithubPersonalAccessToken' digipolisgent

Get a list of repositories filtered by type(s)

Get a list of repositories filtered by the provided type.

The supported types are:

  • drupal_profile
  • drupal_module
  • drupal_theme
  • php_package
bin/github repo:list --access-token='GithubPersonalAccessToken' --type=drupal_module digipolisgent`

You can filter for multiple types at once (OR):

bin/github repo:list --access-token='GithubPersonalAccessToken' --type=drupal_module --type=drupal_theme digipolisgent

Get a list of repositories filtered by pattern

Get a list of repositories filtered by a regular expression. The pattern will be applied to the repository name.

bin/github repo:list --access-token='GithubPersonalAccessToken' --pattern="/^drupal\_/" digipolisgent

You can filer by multiple patterns at once (OR):

bin/github repo:list --access-token='GithubPersonalAccessToken' --pattern="/^drupal\_/" --pattern="/^php\_/" digipolisgent

Find usages of a project within MakeFile sites

List all drupal sites where a project (install profile, module or theme) is used.

bin/github makefile:usage --access-token='GithubPersonalAccessToken' digipolisgent project_name

You can search usages for multiple projects at once:

bin/github makefile:usage --access-token='GithubPersonalAccessToken' digipolisgent project_name1 project_name2 project_name3

Find usages of a project within Composer sites

List all drupal sites where a project (install profile, module or theme) is used.

bin/github composer:usage --access-token='GithubPersonalAccessToken' digipolisgent project_name

You can search usages for multiple projects at once:

bin/github composer:usage --access-token='GithubPersonalAccessToken' digipolisgent project_name1 project_name2 project_name3

php_scripts_github's People

Contributors

daften avatar dubgeiser avatar jelle-s avatar matthijs-va avatar mpparsley avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php_scripts_github's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.