Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Issues Laravel Package

digitalkaoz/issues

PHP wrapper to search and fetch issues across multiple trackers (GitHub, GitLab, Jira, Bitbucket). Includes a CLI for cross-tracker searching and a simple API to find projects and list issues programmatically.

View on GitHub
Deep Wiki
Context7

issues

a PHP wrapper for various issue tracker

Build Status Dependency Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Latest Stable Version Total Downloads StyleCI

Installation

$ composer require digitalkaoz/issues

Trackers

currently these are the supported Trackers:

<?php

$github = new GithubTracker($token = null);

$jira   = new JiraTracker($host, $username = null, $password = null);

$gitlab = new GitlabTracker($host, $token = null);

$bitbucket = new BitbucketTracker($username = null, $password = null);

Usage

The Library contains a simple Application to search various Trackers:

$ bin/issues search -u TOKEN github digitalkaoz/issues                     # search github
$ bin/issues search -u TOKEN -h gitlab.domain.com gitlab foo/*             # search gitlab
$ bin/issues search -u USER -p PWD -d https://jira.domain.com jira PROJKEY # search jira
$ bin/issues search -u USER -p PWD -d bitbucket gentlero/bitbucket-api     # search bitbucket

to use it programmatic:

<?php

$tracker = new GithubTracker($token); // or any other Tracker

$project = $tracker->getProject('digitalkaoz/issues'); //Rs/Issues/Project
$projects = $tracker->findProjects('digitalkaoz/*'); //Rs/Issues/Project[]

$issues = $project->getIssues(); //Rs/Issues/Issue[]

Searching

you can either search for an concrete repository like digitalkaoz/issues or search for issues:

  • digitalkaoz/* : all repos of digitalkaoz
  • symfony/[Console|Debug]+$ : only symfony/Console or symfony/Debug
  • doctrine/(?!common|lexer)([a-z0-9\.-]+)$ all but doctrine/common and doctrine/lexer

The CLI Application searches by default, in your Code you should use findProjects instead of getProject

Console Output

Phar

To build a standalone PHAR:

$ vendor/bin/box build

now you can use it as standalone app as follows:

$ php issues.phar search github digitalkaoz/issues

Tests

$ vendor/bin/phpspec run
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky