Skip to content

ikasgela/laravel-gitea

Repository files navigation

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.

About

Gitea API integration for Laravel.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages