{"id":26380101,"url":"https://github.com/vanilleplugin/packager","last_synced_at":"2026-05-20T15:02:05.020Z","repository":{"id":56995959,"uuid":"350138418","full_name":"VanillePlugin/Packager","owner":"VanillePlugin","description":"Composer Namespaces Prefixer for WordPress Plugins, Resolve dependencies versions conflicts of WordPress plugins built using Composer, Without hardcoding.","archived":false,"fork":false,"pushed_at":"2023-12-19T16:08:34.000Z","size":118,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T10:37:25.802Z","etag":null,"topics":["dependencies","php","prefixer","wordpress","wordpress-plugins-namespaces-prefixer"],"latest_commit_sha":null,"homepage":"https://jakiboy.github.io/VanillePlugin-Packager/","language":"PHP","has_issues":false,"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/VanillePlugin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-21T22:42:21.000Z","updated_at":"2025-02-09T15:10:21.000Z","dependencies_parsed_at":"2025-03-01T10:47:30.412Z","dependency_job_id":null,"html_url":"https://github.com/VanillePlugin/Packager","commit_stats":null,"previous_names":["vanilleplugin/packager"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanillePlugin%2FPackager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanillePlugin%2FPackager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanillePlugin%2FPackager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanillePlugin%2FPackager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VanillePlugin","download_url":"https://codeload.github.com/VanillePlugin/Packager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976439,"owners_count":20377691,"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":["dependencies","php","prefixer","wordpress","wordpress-plugins-namespaces-prefixer"],"created_at":"2025-03-17T05:18:32.436Z","updated_at":"2026-05-20T15:01:59.992Z","avatar_url":"https://github.com/VanillePlugin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VanillePlugin-Packager\n\nVanillePlugin Packager is a **Composer Namespaces Prefixer for WordPress Plugins**, Used to prefix [VanillePlugin WordPress Plugin Framework](https://jakiboy.github.io/VanillePlugin/) And other composer dependencies.  \nResolve **dependencies versions conflicts of WordPress plugins** built using Composer, Without ~~hardcoding~~.\n\nWorks also for non Composer plugins, By Wrapping your dependencies with your own custom namespace, in order to avoid conflicts with **other plugins that are loading the same dependencies in different versions**.\n\n```\n__      __         _ _ _      _____  _             _         _____           _                         \n\\ \\    / /        (_| | |    |  __ \\| |           (_)       |  __ \\         | |                        \n \\ \\  / __ _ _ __  _| | | ___| |__) | |_   _  __ _ _ _ __   | |__) __ _  ___| | ____ _  __ _  ___ _ __ \n  \\ \\/ / _` | '_ \\| | | |/ _ |  ___/| | | | |/ _` | | '_ \\  |  ___/ _` |/ __| |/ / _` |/ _` |/ _ | '__|\n   \\  | (_| | | | | | | |  __| |    | | |_| | (_| | | | | | | |  | (_| | (__|   | (_| | (_| |  __| |   \n    \\/ \\__,_|_| |_|_|_|_|\\___|_|    |_|\\__,_|\\__, |_|_| |_| |_|   \\__,_|\\___|_|\\_\\__,_|\\__, |\\___|_|   \n                                              __/ |                                     __/ |          \n                                             |___/                                     |___/           \n```\n\n## ⚡ Installing:\n\n```\ncomposer global require --dev jakiboy/vanilleplugin-packager\n```\n\n## 🔧 Getting Started:\n\n### Display packager help:\n```bash\nvanilleplugin -h\n```\n\n### Regenerate dependency namespaces:\n```bash\nvanilleplugin -regd -d \"Foo/Bar/src\" -l \"FooBar\" -p \"prefix\"\n```\n\n### Regenerate dependency namespaces with disabled capitalization (StudlyCaps):\n```bash\nvanilleplugin -regd -d \"Foo/Bar/src\" -l \"FooBar\" -p \"\\!prefix\"\n```\n\n### Regenerate dependency namespaces using random prefix:\n```bash\nvanilleplugin -regd -d \"Foo/Bar/src\" -l \"FooBar\"\n```\n\n### Regenerate VanillePlugin namespaces using random prefix:\n```bash\nvanilleplugin -reg\n```\n\n### Regenerate VanillePlugin namespaces:\n```bash\nvanilleplugin -reg \"prefix\"\n```\n\n### Regenerate VanillePlugin namespaces with disabled capitalization (StudlyCaps):\n```bash\nvanilleplugin -reg \"\\!prefix\"\n```\n\n### Test packaging prefixed namespaces with disabled capitalization (StudlyCaps):\n```bash\nvanilleplugin -test \"\\!prefix\"\n```\n\n## 📋 Options:\n\n```\n-d dependency source path (inside vendor folder)\n```\n\n```\n-l dependency librairy name (Used in Namespaces)\n```\n\n```\n-p Custom prefix\n```\n\n## 📋 Commands:\n\n```\n-regd Regenerate dependency namespaces\n```\n\n```\n-reg Regenerate VanillePlugin namespaces\n```\n\n```\n-test Test custom prefix after process\n```\n\n## Contributing:\n\nPlease read [CONTRIBUTING.md](https://github.com/Jakiboy/VanillePlugin-Packager/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning:\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/Jakiboy/VanillePlugin-Packager/tags). \n\n## Authors:\n\n* **Jihad Sinnaour** - [Jakiboy](https://github.com/Jakiboy) (*Initial work*)\n\nSee also the full list of [contributors](https://github.com/Jakiboy/VanillePlugin-Packager/contributors) who participated in this project. Any suggestions (Pull requests) are welcome!\n\n## License:\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/Jakiboy/VanillePlugin-Packager/blob/master/LICENSE) file for details.\n\n## Todo:\n\n* Rebuild with **symfony/console**.\n* Add **phpunit/phpunit**.\n* Use **.phar**.\n* Use dynamic **vendor** directory.\n* Use dynamic **system** (Plugin) directory.\n* Use **regex(i)** instead of pathinfo().\n* Use **Lexer/Parser**\n\n## ⭐ Support:\n\nPlease give it a Star if you like the project.\n\n## 💡 Notice:\n\n* *Tested with VanillePlugin \u0026 many composer dependencies (e.g. [Twig](https://twig.symfony.com/)), But use it at your own risk*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanilleplugin%2Fpackager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanilleplugin%2Fpackager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanilleplugin%2Fpackager/lists"}