Download the PHP package zero-to-prod/package-helper without Composer
On this page you can find all versions of the php package zero-to-prod/package-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zero-to-prod/package-helper
More information about zero-to-prod/package-helper
Files in zero-to-prod/package-helper
Package package-helper
Short Description Helpers for a Composer Package
License MIT
Homepage https://github.com/zero-to-prod/package-helper
Informations about the package package-helper
Zerotoprod\PackageHelper
Contents
- Introduction
- Requirements
- Installation
- Documentation Publishing
- Automatic Documentation Publishing
- Usage
- Example
- Local Development
- Contributing
Introduction
Helpers for a composer package.
Requirements
- PHP 7.1 or higher.
Installation
Install Zerotoprod\PackageHelper
via Composer:
This will add the package to your project’s dependencies and create an autoloader entry for it.
Documentation Publishing
You can publish this README to your local documentation directory.
This can be useful for providing documentation for AI agents.
This can be done using the included script:
Automatic Documentation Publishing
You can automatically publish documentation by adding the following to your composer.json
:
Usage
Publish files in your package directory (recursively) while rewriting namespaces.
Copy a single file and get the destination path:
Example
Integrate this into a composer package.
Update composer.json
:
Create a new file: bin/package-file
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.