{"id":22908826,"url":"https://github.com/ipunkt/composer-about","last_synced_at":"2025-05-08T23:07:01.106Z","repository":{"id":17898614,"uuid":"20852348","full_name":"ipunkt/composer-about","owner":"ipunkt","description":"Parses composer.lock and returns informations about the used packages","archived":false,"fork":false,"pushed_at":"2014-07-23T05:54:33.000Z","size":168,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T23:06:56.836Z","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/ipunkt.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}},"created_at":"2014-06-15T09:44:50.000Z","updated_at":"2022-12-30T21:01:49.000Z","dependencies_parsed_at":"2022-09-14T22:42:03.647Z","dependency_job_id":null,"html_url":"https://github.com/ipunkt/composer-about","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Fcomposer-about","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Fcomposer-about/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Fcomposer-about/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Fcomposer-about/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipunkt","download_url":"https://codeload.github.com/ipunkt/composer-about/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160777,"owners_count":21863629,"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-12-14T03:32:27.529Z","updated_at":"2025-05-08T23:07:01.042Z","avatar_url":"https://github.com/ipunkt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Retrieve Information from composer.lock\n=======================================\n\n[![Latest Stable Version](https://poser.pugx.org/ipunkt/composer-about/v/stable.svg)](https://packagist.org/packages/ipunkt/composer-about) [![Latest Unstable Version](https://poser.pugx.org/ipunkt/composer-about/v/unstable.svg)](https://packagist.org/packages/ipunkt/composer-about) [![License](https://poser.pugx.org/ipunkt/composer-about/license.svg)](https://packagist.org/packages/ipunkt/composer-about) [![Total Downloads](https://poser.pugx.org/ipunkt/composer-about/downloads.svg)](https://packagist.org/packages/ipunkt/composer-about)\n\nParses composer.lock and returns informations about the used packages\n\nUsage\n-----\n\nMainly developed for Laravel, but can still be used in all other Frameworks or Vanilla PHP applications.\n\n1. Add service provider to app.config\n\n\t`'Ipunkt\\ComposerAbout\\ComposerAboutServiceProvider',`\n\n2. Use it in your routes.php or Controller action\n\n\t`/** @var \\Ipunkt\\ComposerAbout\\Structure\\ComposerStructure $composerAbout */`\n\n\t`$composerAbout = App::make('composer-about');`\n\n\nAPI\n---\n\n### ComposerStructure::$hash\n\nHash of the current installed packages.\n\n### ComposerStructure::$packages\n\nA Collection of Package object instances for the packages used.\n\n### ComposerStructure::$devpackages\n\nA Collection of Package object instances for the dev packages used.\n\n### ComposerStructure::licenses()\n\nAn array of all unique licenses for all required packages. Perhaps for a summary of used licenses. Can be very useful,\nif you want to check, that there is a defined license that you do not want to have.\n\n### Package\n\nFor current methods please see `Ipunkt\\ComposerAbout\\Structure\\Data\\Package.php`\n\n### Package::getName()\n\nReturns the name of the package.\n\n### Package::getVersion()\n\nReturns the version of the package.\n\n### Package::getDescription()\n\nReturns the description of the package.\n\n### Package::getAuthors()\n\nReturns an array of alle Authors...each author has 'name' and 'email' set, if possible.\n\n### Package::getLicenses()\n\nReturns the licenses of the package.\n\n### Package::getType()\n\nReturns the type of the package. E.g. library\n\n### Package::getName()\n\nReturns the name of the package.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Fcomposer-about","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipunkt%2Fcomposer-about","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Fcomposer-about/lists"}