PHPackages                             infernalmedia/laravel-gitea-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. infernalmedia/laravel-gitea-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

infernalmedia/laravel-gitea-storage
===================================

A Gitea Storage driver for Laravel

v0.0.4(1y ago)0129MITPHPPHP ^8.2

Since Nov 17Pushed 1y agoCompare

[ Source](https://github.com/infernalmedia/laravel-gitea-storage)[ Packagist](https://packagist.org/packages/infernalmedia/laravel-gitea-storage)[ RSS](/packages/infernalmedia-laravel-gitea-storage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

A Gitea Storage driver for Laravel

[![Latest Version](https://camo.githubusercontent.com/0e164c6833179afd47de3628e06c635321ab870dbaf45f938f9eb18eae9774b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6665726e616c6d656469612f6c61726176656c2d67697465612d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/infernalmedia/laravel-gitea-storage)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/15eec62dfa746fe47bd4979e7777ff48130989f0192fee4c88c47aa4a6e7f64b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6665726e616c6d656469612f6c61726176656c2d67697465612d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/infernalmedia/laravel-gitea-storage)

This package is a wrapper bridging [Flysystem-Gitea-storage](https://github.com/infernalmedia/flysystem-gitea-storage) into Laravel as an available storage disk.

This is a fork from the dashing [RoyVoetman/laravel-gitlab-storage](https://github.com/RoyVoetman/laravel-gitlab-storage) package which has been adapted to work with Gitea's API.

Installation
------------

[](#installation)

```
composer require infernalmedia/laravel-gitea-storage
```

Add a new disk to your filesystems.php config

```
'gitea' => [
    'driver'                => 'gitea',
    'personal-access-token' => env('GITEA_ACCESS_TOKEN', ''), // Personal access token
    'username'              => env('GITEA_USERNAME'),
    'repository'            => env('GITEA_REPOSITORY'), // your repo
    'branch'                => env('GITEA_BRANCH', 'main'), // Branch that should be used
    'base-url'              => env('GITEA_BASE_URL', 'https://gitea.com'), // Base URL of Gitea server you want to use
],
```

### Access token (required for private projects)

[](#access-token-required-for-private-projects)

Gitea supports server side API authentication with Personal Access tokens

Personal Access Token can be created from the Settings page of your user account.

### Username

[](#username)

This is the username or the organization name under which repositories are stored.

### Repository

[](#repository)

Name of the repository.

### Base URL

[](#base-url)

This will be the URL where you host your gitea server (e.g. )

Usage
-----

[](#usage)

```
$disk = Storage::disk('gitea');

// create a file
$disk->put('images/', $fileContents);

// check if a file exists
$exists = $disk->exists('file.jpg');

// copy a file
$disk->copy('old/file1.jpg', 'new/file1.jpg');

// move a file
$disk->move('old/file1.jpg', 'new/file1.jpg');

// See https://laravel.com/docs/filesystem for a full list of all the available functionality
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Contributions are **welcome** and will be fully **credited**. We accept contributions via Pull Requests on [Github](https://github.com/infernalmedia/laravel-gitea-storage).

### Pull Requests

[](#pull-requests)

- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer).
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
- **Create feature branches** - Don't ask us to pull from your master branch.
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance48

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~174 days

Total

4

Last Release

385d ago

PHP version history (3 changes)v0.0.1PHP ^7.0 || ^8.0

v0.0.3PHP ^8.1

v0.0.4PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/01b1551c97db1c958792e35553fcae0608d87d908c05e71028cdeb7611fdcba3?d=identicon)[jlalande](/maintainers/jlalande)

---

Top Contributors

[![RoyVoetman](https://avatars.githubusercontent.com/u/23026444?v=4)](https://github.com/RoyVoetman "RoyVoetman (36 commits)")[![guillaume-infernal](https://avatars.githubusercontent.com/u/56695355?v=4)](https://github.com/guillaume-infernal "guillaume-infernal (2 commits)")[![jlalande](https://avatars.githubusercontent.com/u/2721747?v=4)](https://github.com/jlalande "jlalande (2 commits)")[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (1 commits)")[![messersm](https://avatars.githubusercontent.com/u/896541?v=4)](https://github.com/messersm "messersm (1 commits)")

### Embed Badge

![Health badge](/badges/infernalmedia-laravel-gitea-storage/health.svg)

```
[![Health](https://phpackages.com/badges/infernalmedia-laravel-gitea-storage/health.svg)](https://phpackages.com/packages/infernalmedia-laravel-gitea-storage)
```

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[azure-oss/storage-blob-laravel

Azure Storage Blob filesystem driver for Laravel

63582.2k1](/packages/azure-oss-storage-blob-laravel)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1211.2k](/packages/zing-laravel-flysystem-obs)[innoge/laravel-rclone

A sleek PHP wrapper around rclone with Laravel-style fluent API syntax

174.1k](/packages/innoge-laravel-rclone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
