Download the PHP package valentiniljaz/packagist-publish without Composer
On this page you can find all versions of the php package valentiniljaz/packagist-publish. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download valentiniljaz/packagist-publish
More information about valentiniljaz/packagist-publish
Files in valentiniljaz/packagist-publish
Package packagist-publish
Short Description Publish your package to Packagist.com using API. Very useful for PHP monorepos.
License MIT
Homepage https://github.com/valentiniljaz/packagist-publish
Informations about the package packagist-publish
Private Packagist Publish
Publish your package to Packagist.com using API. Very useful for PHP monorepos.
Install
Add the package as dev dependency to your project:
Use
Publish your package:
Initial publish of the package must be done manually by uploading archive to Packagist.com
If you only need to prepare archive for publishing:
Help about commands:
How it works
1) Builds zip archive using GIT
You must have all your changes committed.
2) Publishes archive to Packagist.com using API endpoint
You must provide Packagist API Key and Secret either by command params (--apiKey, --apiSecret) or by env variables (PACKAGIST_KEY, PACKAGIST_SECRET). Params have precedence over env vars.
Details
- If path to composer.json is not specified by command option it'll take the first composer.json it finds from current working dir upwards.
- For GIT ARCHIVE it needs to know the root of GIT repo; it'll take the first dir containing
.git
from current working dir upwards. - Default destination for archive is the location of dir containing composer.json.
- If you need to ignore specific folder(s)/file(s) from archive you can use
.gitattributes
and setexport-ignore
attribute.
Author
Valentin Iljaž
License
MIT
All versions of packagist-publish with dependencies
ext-json Version *
ext-fileinfo Version *
splitbrain/php-cli Version ^1.1.8
symfony/process Version ^5.4.8
guzzlehttp/guzzle Version ^7.4.2