Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.42 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.42 KB

Gitea API integration for Laravel

Latest Version on Packagist Total Downloads

Gitea API integration for Laravel.

Installation

You can install the package via composer:

composer require ikasgela/laravel-gitea

You can publish the config file with:

php artisan vendor:publish --provider="Ikasgela\Gitea\GiteaServiceProvider"

This is the contents of the published config file:

return [
    'url' => env('GITEA_URL'),
    'token' => env('GITEA_TOKEN'),
];

Usage

$repository = GiteaClient::repo('user/repository');
echo $repository['http_url_to_repo'];

Testing

composer test

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

Apache License 2.0. Please see License File for more information.