{"id":17114893,"url":"https://github.com/bartfeenstra/doobie","last_synced_at":"2026-06-11T09:30:19.006Z","repository":{"id":17218730,"uuid":"19987476","full_name":"bartfeenstra/Doobie","owner":"bartfeenstra","description":"Doobie (do-by) allows @todo annotations to be extended with metadata to specify by which event the described action must have been taken.","archived":true,"fork":false,"pushed_at":"2014-05-21T06:29:53.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T06:49:46.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bartfeenstra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-20T15:56:40.000Z","updated_at":"2024-01-09T09:23:19.000Z","dependencies_parsed_at":"2022-09-09T14:21:10.964Z","dependency_job_id":null,"html_url":"https://github.com/bartfeenstra/Doobie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartfeenstra%2FDoobie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartfeenstra%2FDoobie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartfeenstra%2FDoobie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartfeenstra%2FDoobie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartfeenstra","download_url":"https://codeload.github.com/bartfeenstra/Doobie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240226384,"owners_count":19768069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T17:20:47.900Z","updated_at":"2026-06-11T09:30:18.912Z","avatar_url":"https://github.com/bartfeenstra.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doobie\n\n[![Build Status](https://travis-ci.org/bartfeenstra/Doobie.png?branch=master)](https://travis-ci.org/bartfeenstra/Dobie)\n[![Coverage Status](https://coveralls.io/repos/bartfeenstra/Doobie/badge.png?branch=master)](https://coveralls.io/r/bartfeenstra/Doobie?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/bartfeenstra/Doobie/v/stable.png)](https://packagist.org/packages/bartfeenstra/Doobie)\n\nDoobie (*\"do by\"*) allows `@todo` annotations to be extended with metadata to specify\nby which event the described action must have been taken.\n\nDoobie was inspired by [andyw8/do_by](https://github.com/andyw8/do_by), which is\nspecific to Ruby.\n\n# Usage\n\nAny `@todo` annotation can contain a Doobie marker that is formatted like\n`[doobie:type:expected_value]`, where `type` is the type of constraint\nthat must be checked (such as `php-version` or `datetime`), and\n`expected_value` is the value the constraint type must have for the marker to\nbecome expired.\n\n## php-version\n\nThis built-in constraint type compares the expected and actual PHP versions. Use\nlike `[doobie:php-version:\u003e=5.5]`.\n\n## datetime\n\nThis built-in constraint type compares the expected and actual dates and times.\nUse like `[doobie:datetime:2014-05-20 00:00 +0]`\n\n## PHPUnit\n\nIn order to test all markers through PHPUnit, write a test case that\ninstantiates one or more file finders\n(`\\BartFeenstra\\Doobie\\FileFinder\\FileFinderInterface`), parsers\n(`\\BartFeenstra\\Doobie\\Parser\\ParserInterface`), and constraint evaluators\n(`\\BartFeenstra\\Doobie\\Constraint\\ConstriantEvaluatorInterface`). The test case\ncan then use\n`\\BartFeenstra\\Doobie\\PhpUnit\\AssertTrait` and `$this-\u003eassertDoobieMarkers($file_finders, $parsers, $constraint_evaluators)`\nto trigger test failures for expires markers.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartfeenstra%2Fdoobie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartfeenstra%2Fdoobie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartfeenstra%2Fdoobie/lists"}