alphaolomi/laravel-repman
最新稳定版本:v2.0.1-alpha
Composer 安装命令:
composer require alphaolomi/laravel-repman
包简介
Package for Repman.io API
README 文档
README
Laravel Repman
Laravel Repman provides an expressive, fluent interface to Repman.io's services.
Repman.io is a private Composer repository manager. It allows you to host your own Composer repository and manage packages from it. It also allows you to mirror packages from Packagist.
Documentation
Documentation for Laravel Repman can be found on the Laravel Repman.
Documentation for Repman can be found on the Repman Docs.
Installation
You can install the package via composer:
composer require alphaolomi/laravel-repman
You can publish the config file with:
php artisan vendor:publish --tag="repman-config"
Getting Started
Create a account on Repman.io and get your API token.
Usage
Using the package is very simple, you just need to call the Repman facade and pass the required parameters.
use AlphaOlomi\Repman\Facades\Repman; // Collection of organizations $orgsCollection = Repman::organizations()->list(); /** @var AlphaOlomi\Repman\DataObjects\Organization */ $org = Repman::organizations()->create('org-name');
Testing
Uses Pest PHP testing framework
composer test
APIs
Organization
- List all organizations
- Create organization
Package
- List all packages
- Add package
- Update package
- Synchronize package
- Remove package
Token
- List all tokens
- Generate token
- Regenerate token
- Delete token
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-25