{"id":24963566,"url":"https://github.com/cdtweb/pharven","last_synced_at":"2025-04-10T23:17:16.349Z","repository":{"id":62500515,"uuid":"85094721","full_name":"cdtweb/pharven","owner":"cdtweb","description":"Pharven bundles your vendor directory into a PHP Archive (PHAR)","archived":false,"fork":false,"pushed_at":"2018-03-13T22:20:35.000Z","size":19,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T23:17:07.946Z","etag":null,"topics":["composer","phar","php"],"latest_commit_sha":null,"homepage":"https://github.com/cdtweb/pharven","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/cdtweb.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":"2017-03-15T16:16:31.000Z","updated_at":"2023-12-11T19:23:20.000Z","dependencies_parsed_at":"2022-11-02T11:47:10.935Z","dependency_job_id":null,"html_url":"https://github.com/cdtweb/pharven","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdtweb%2Fpharven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdtweb%2Fpharven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdtweb%2Fpharven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdtweb%2Fpharven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdtweb","download_url":"https://codeload.github.com/cdtweb/pharven/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312132,"owners_count":21082638,"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":["composer","phar","php"],"created_at":"2025-02-03T09:56:47.816Z","updated_at":"2025-04-10T23:17:16.331Z","avatar_url":"https://github.com/cdtweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pharven\n=======\n\n[![Build\nStatus](https://travis-ci.org/cdtweb/pharven.svg?branch=master)](https://travis-ci.org/cdtweb/pharven)\n\nIf you have ever needed to commit your `vendor/` directory into your project repository then Pharven was built for you.\n\nPharven bundles your vendor directory into a single PHP Archive (PHAR) and allows you to\ncommit and deploy a single file instead of your entire `vendor/` directory.\n \n \n## Installation\n\nAdd Pharven to your project using Composer:\n\n    composer require cdtweb/pharven\n    \n\n## Usage\n\nAdd `pharven.json` to your project root with the following content:\n\n    {\n        \"mount_dirs\": [\n            \"src\"\n        ]\n    }\n    \n**mount_dirs** are very important if you are using Composer to autoload your project classes. `.phar` files act as their \nown file system, so if your classes aren't mounted, they won't be visible to the Composer autoloader and you will run\ninto problems.\n    \n**Run Pharven to create/update your PHAR file:**\n\n    php vendor/bin/pharven\n    \nA file named `pharven.phar` will be added to the working directory. Update your bootstrap to include `./pharven.phar` \ninstead of `vendor/autoload.php` and you're good to go.\n\n    \u003c?php\n    require __DIR__ . '/pharven.phar';\n    \nAt this point you can add `vendor/` to your `.gitignore` file and commit your `pharven.phar` file instead.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdtweb%2Fpharven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdtweb%2Fpharven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdtweb%2Fpharven/lists"}