DevMakerLab/My-Mine
Want to track and analyze your Redmine tickets/projects,
Installation
composer require devmakerlab/my-mine
Examples
<?php
// This retrieve all tickets created since 2020
$monthOldTickets = $ticketService->inRange(Carbon::parse('2020-01-01 00:00:00'), Carbon::now())->get();
// This retrieve all tickets containing the word 'urgent' in the subject.
$urgentTickets = $ticketService->addFilter('subject', '~urgent')->get();
// This retrieve all tickets created by a specific author id.
$johnTickets = $ticketService->addFilter('author_id', 1)->get();
//And you can chain!
$johnUrgentTicketsCreatedSinceTwentyTwenty = $ticketService()
->inRange(Carbon::parse('2020-01-01 00:00:00'), Carbon::now())
->addFilter('subject', '~urgent')
->addFilter('author_id', 1)
->get();