Download the PHP package finaldream/packages-generator without Composer
On this page you can find all versions of the php package finaldream/packages-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download finaldream/packages-generator
More information about finaldream/packages-generator
Files in finaldream/packages-generator
Package packages-generator
Short Description Simple packages.json generator for Composer
License MIT
Homepage https://github.com/finaldream/packages-generator
Informations about the package packages-generator
packages-generator
Simple packages.json generator for Composer
Converts a directory of archives automagically into a custom Composer repository.
Supports hosting a number of pre-packaged archives and expose them via package.json as repository.
Use-Cases:
- i.e. provide 3rd-party Plugins or Themes to a composer-based Wordpress set-up.
- host any pre-packged archives and generate simple package-definitions.
Usage
Create a directory containing Zip-files, which will be served as packages. In order to extract relevant information like name and version, the files needs to be named in a certain way:
package can be name-spaced by putting them into folders.
Implementation
Possible ways to implement this script
Manual
- manage the archives locally, run the script manually and upload everything via FTP
Cronjob
- Upload files to a Webhost
- generate packages.json via cronjob
CI Pipeline
- create CI pipeline on your provider of choice
- manage the archives via git
- run the pipeline on git-push
- generate packages.json
- publish to S3