ikasgela/laravel-gitea

Gitea API integration for Laravel

1.0.11 2024-07-06 15:51 UTC

This package is auto-updated.

Last update: 2025-04-06 17:16:51 UTC


README

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.