{"id":16225765,"url":"https://github.com/macfja/pharbuilder","last_synced_at":"2025-04-07T17:10:37.853Z","repository":{"id":31190983,"uuid":"34751651","full_name":"MacFJA/PharBuilder","owner":"MacFJA","description":"Create Phar of Composer based PHP application","archived":false,"fork":false,"pushed_at":"2019-07-10T14:26:48.000Z","size":450,"stargazers_count":121,"open_issues_count":3,"forks_count":19,"subscribers_count":10,"default_branch":"develop","last_synced_at":"2023-09-17T23:41:45.954Z","etag":null,"topics":["composer","package","phar"],"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/MacFJA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-28T19:37:46.000Z","updated_at":"2023-02-16T21:34:27.000Z","dependencies_parsed_at":"2022-07-12T09:23:46.553Z","dependency_job_id":null,"html_url":"https://github.com/MacFJA/PharBuilder","commit_stats":null,"previous_names":[],"tags_count":10,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacFJA%2FPharBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacFJA%2FPharBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacFJA%2FPharBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MacFJA%2FPharBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MacFJA","download_url":"https://codeload.github.com/MacFJA/PharBuilder/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694876,"owners_count":20980733,"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","package","phar"],"created_at":"2024-10-10T12:46:17.250Z","updated_at":"2025-04-07T17:10:37.823Z","avatar_url":"https://github.com/MacFJA.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PharBuilder\n\nCreate a Phar (PHp ARchive) file of your Composer based PHP application\n\n## Installation\n\n### Composer\n\n```sh\ncomposer require macfja/phar-builder\n```\n\n### Phar archive\n\nYou can download the Phar directly on GitHub in the release section (https://github.com/MacFJA/PharBuilder)\n\n## Usage\n\n### Within a composer based project\n\n```sh\nvendor/bin/phar-builder\n```\n\n### With the phar\n\n```sh\nphar-builder.phar package path-to-your-composer.json-file\n```\n\n### Command `package`\n\n_Extract from the `vendor/bin/phar-builder help package` command_\n\n```\nDescription:\n  Generate a Phar from a composer.json\n\nUsage:\n  package [options] [--] [\u003ccomposer-json\u003e]\n\nArguments:\n  composer-json                  The path to the composer.json file.\n                                 If the argument is not defined, search of a composer.json inside the current directory\n\nOptions:\n      --output=OUTPUT            Where to output the Phar\n      --name=NAME                The name of the Phar\n      --no-dev                   Do not include dev dependencies\n      --dev                      Include dev dependencies\n      --no-shebang               Do not add/remove shebang\n      --shebang                  Ensure that a shebang is used\n      --entry-point=ENTRY-POINT  The file to include when the Phar is executed/called\n      --included=INCLUDED        The list (separate by \",\") of path to add in the Phar\n      --excluded=EXCLUDED        The list (separate by \",\") of path to exclude in the Phar\n      --bz2                      Use the BZip2 compression for the Phar\n      --gzip                     Use the GZip compression for the Phar\n      --flat                     Do not compress the Phar\n  -h, --help                     Display this help message\n  -q, --quiet                    Do not output any message\n  -V, --version                  Display this application version\n      --ansi                     Force ANSI output\n      --no-ansi                  Disable ANSI output\n  -n, --no-interaction           Do not ask any interactive question\n  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\n```\n\n[More information about the Composer configuration](docs/ComposerJsonOptions.md)\n\n## Similar projects\n\n - https://github.com/clue/phar-composer\n - https://github.com/box-project/box2\n - https://github.com/IcecaveStudios/near\n - https://github.com/Modularr/Phar\n - https://github.com/kos33rd/pharaon\n - https://github.com/brad-jones/pharbuilder\n - https://github.com/index0h/yii2-phar\n - https://github.com/keradus/PharBuilder\n - https://github.com/JeroenDeDauw/PharBuilder\n - https://github.com/theseer/Autoload\n - https://github.com/crodas/Phar-Builder\n - https://github.com/oleics/php-ac-build-phar\n - https://github.com/mvccore/packager\n - https://github.com/box-project/box2-lib\n - https://github.com/humbug/box\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacfja%2Fpharbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacfja%2Fpharbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacfja%2Fpharbuilder/lists"}