{"id":18658990,"url":"https://github.com/delboy1978uk/bone-console","last_synced_at":"2025-07-24T20:34:38.417Z","repository":{"id":46229517,"uuid":"245619739","full_name":"delboy1978uk/bone-console","owner":"delboy1978uk","description":"CLI functionality, run Bone Framework in the terminal","archived":false,"fork":false,"pushed_at":"2024-03-21T00:55:48.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T23:44:31.748Z","etag":null,"topics":["bone-framework","php-framework"],"latest_commit_sha":null,"homepage":"https://boneframework.delboysplace.co.uk","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/delboy1978uk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-07T11:24:14.000Z","updated_at":"2022-11-05T15:18:03.000Z","dependencies_parsed_at":"2024-03-21T01:43:04.733Z","dependency_job_id":"d88a2755-1555-42f2-bf22-7bd6663a61dc","html_url":"https://github.com/delboy1978uk/bone-console","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"e1f6fd3d0bdaa4d7844d39e1497d0598578b4524"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/delboy1978uk/bone-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delboy1978uk%2Fbone-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delboy1978uk%2Fbone-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delboy1978uk%2Fbone-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delboy1978uk%2Fbone-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delboy1978uk","download_url":"https://codeload.github.com/delboy1978uk/bone-console/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delboy1978uk%2Fbone-console/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266332988,"owners_count":23912666,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bone-framework","php-framework"],"created_at":"2024-11-07T07:35:13.748Z","updated_at":"2025-07-24T20:34:38.346Z","avatar_url":"https://github.com/delboy1978uk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bone-console\n[![Latest Stable Version](https://poser.pugx.org/delboy1978uk/bone-console/v/stable)](https://packagist.org/packages/delboy1978uk/bone-console) [![Total Downloads](https://poser.pugx.org/delboy1978uk/bone/downloads)](https://packagist.org/packages/delboy1978uk/bone) [![Latest Unstable Version](https://poser.pugx.org/delboy1978uk/bone-console/v/unstable)](https://packagist.org/packages/delboy1978uk/bone-console) [![License](https://poser.pugx.org/delboy1978uk/bone-console/license)](https://packagist.org/packages/delboy1978uk/bone-console)\u003cbr /\u003e\n![build status](https://github.com/delboy1978uk/bone-console/actions/workflows/master.yml/badge.svg) [![Code Coverage](https://scrutinizer-ci.com/g/delboy1978uk/bone-console/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/delboy1978uk/bone-console/?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/delboy1978uk/bone-console/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/delboy1978uk/bone-console/?branch=master)\u003cbr /\u003e\n\nBone Framework terminal CLI application functionality\n## installation\nbone-console is part of the core `delboy1978uk/bone` dependencies, it is installed automatically.\n## usage\nIn your own package registration class, implement the `CommandRegistrationInterface`, and return an array of the \ncommands you would like to add to the app.\n```php\n\u003c?php declare(strict_types=1);\n\nnamespace Your\\PackageName;\n\nuse Barnacle\\Container;\nuse Barnacle\\RegistrationInterface;\nuse Bone\\Console\\CommandRegistrationInterface;\n\nclass MyPackage extends RegistrationInterface implements CommandRegistrationInterface\n{\n    /**\n     * @param Container $container\n     * @return array\n     */\n    public function registerConsoleCommands(Container $container) : array\n    {\n        $someDependency = $container-\u003eget(Some::class);\n        $awesomeCommand = new AwesomeCommand();\n        $differentCommand = new DifferentCommand($someDependency);\n\n        return [\n            $awesomeCommand,\n            $differentCommand,\n        ];\n    }\n}\n```\nNow in the Terminal, you can run the `vendor/bin/bone command`, and your commands will be available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelboy1978uk%2Fbone-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelboy1978uk%2Fbone-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelboy1978uk%2Fbone-console/lists"}