{"id":18785769,"url":"https://github.com/uzyn/cakephp-composer","last_synced_at":"2025-04-13T12:34:06.502Z","repository":{"id":3643384,"uuid":"4710736","full_name":"uzyn/cakephp-composer","owner":"uzyn","description":"CakePHP Composer plugin","archived":true,"fork":false,"pushed_at":"2014-05-16T15:26:13.000Z","size":212,"stargazers_count":61,"open_issues_count":3,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T03:48:13.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bakery.cakephp.org/articles/uzyn/2012/06/20/composer_plugin_for_cakephp","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uzyn.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":"2012-06-19T07:32:05.000Z","updated_at":"2025-04-09T01:32:34.000Z","dependencies_parsed_at":"2022-08-18T18:20:41.803Z","dependency_job_id":null,"html_url":"https://github.com/uzyn/cakephp-composer","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/uzyn%2Fcakephp-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fcakephp-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fcakephp-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzyn%2Fcakephp-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uzyn","download_url":"https://codeload.github.com/uzyn/cakephp-composer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248714755,"owners_count":21149961,"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-11-07T20:49:36.596Z","updated_at":"2025-04-13T12:34:06.294Z","avatar_url":"https://github.com/uzyn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CakePHP Composer Plugin\n=======================\n\n[Composer](http://getcomposer.org/) is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.\n\nThis is a CakePHP plugin to use Composer conveniently with your CakePHP project.\n\nThere is no need to pre-install Composer.\nThis plugin will automatically download the latest version if Composer is not installed at your system.\n\nRequirements\n---------\nCakePHP v2.x\n\nHow to use\n----------\n1. Download the plugin and place it at `APP/Plugin/Composer`.\n\n   ```bash\n   cd APP/Plugin\n   git clone git://github.com/uzyn/cakephp-composer.git Composer\n   ```\n\n2. Load the plugin by adding this line to the bottom of your app's `Config/bootstrap.php`:\n\n   ```php\n   \u003c?php\n   CakePlugin::load('Composer', array('bootstrap' =\u003e true));\n   ```\n\n3. That's all! Composer is ready for use.\n\n   `composer.json` is located at `APP/composer.json`. It is automatically created if it is not found.\n   Packages are installed to `APP/Vendor` as per CakePHP convention.\n   Invoke Composer from command line with `Console/cake composer.c`.\n\n   For example, to install [opauth/opauth](http://packagist.org/packages/opauth/opauth) using Composer's `require` command.\n   ```bash\n   cd APP\n   Console/cake composer.c require opauth/opauth:0.*\n   ```\n\n   To install packages defined at `composer.json`\n   ```bash\n   Console/cake composer.c install\n   ```\n\n4. This plugin also makes use of Composer's autoloader.\n   Start using a Composer-loaded classes right away without needing `require()`, `include()` or `App::import()`.\n\n   For example, to instantiate a new Opauth object, simply instantiate Opauth from anywhere in your CakePHP application:\n\n   ```php\n   \u003c?php\n   $Opauth = new Opauth();\n   ```\n\n#### Extra Options\n\nTo run the plugin non-interactively, especially to automatically install `composer.phar` (see [#8](https://github.com/uzyn/cakephp-composer/issues/8)), you can include `--yes` or `-y` option, eg. `Console/cake composer.c install -y`.\n\nIssues \u0026 questions\n-------------------\n- Issues: [Github Issues](https://github.com/uzyn/cakephp-composer/issues)\n- Twitter: [@uzyn](http://twitter.com/uzyn)\n- Email me: chua@uzyn.com\n\nLooking for CakePHP solution or consultation?\n\u003ca href=\"mailto:chua@uzyn.com\"\u003eDrop me a mail\u003c/a\u003e. I do freelance consulting \u0026 development.\n\nLicense\n---------\nThe MIT License\nCopyright © 2012-2013 U-Zyn Chua (http://uzyn.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzyn%2Fcakephp-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuzyn%2Fcakephp-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzyn%2Fcakephp-composer/lists"}