prophp / packagist-api
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/prophp/packagist-api
Requires
- prophp/curl: ^0.0.1
Requires (Dev)
- prophp/docker-bridge: ^0.0.1
- prophp/executable-php: ^0.0.4
This package is not auto-updated.
Last update: 2025-09-23 08:54:32 UTC
README
NB!
Excluded from the vendor
package
docker/run
Use docker/stop-all
if required
◦ Usage
▸ Terminal
bin/create-package <username> <repository url>
bin/create-package prophp https://gitlab.com/prophp/packagist-api.git
▸ Code
use ProPhp\PackagistApi\ApiClient;
$username = 'prophp';
$apiToken = 'a-valid-token-here';
$repoUrl = 'https://gitlab.com/prophp/packagist-api.git';
(new ApiClient($username, $apiToken))->createPackage($repoUrl);