PHPackages                             thotam/thotam-file-library - 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. thotam/thotam-file-library

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

thotam/thotam-file-library
==========================

File Library Manager Package

0.0.1(5y ago)01MITPHPPHP ^7.3|^8.0

Since Apr 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/thotam/thotam-file-library)[ Packagist](https://packagist.org/packages/thotam/thotam-file-library)[ Docs](https://github.com/thotam/thotam-file-library)[ RSS](/packages/thotam-thotam-file-library/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/72734494a4021f3a32ecf2f239d5b0a591d119a7131d55603421577cc6467ca7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74686f74616d2f74686f74616d2d66696c652d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thotam/thotam-file-library)[![Build Status](https://camo.githubusercontent.com/1858da47dbe82e7d65e5e45e8b1b7b614b24e8f9ecd247a23e4e25b97cb3d9c8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74686f74616d2f74686f74616d2d66696c652d6c6962726172792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thotam/thotam-file-library)[![Quality Score](https://camo.githubusercontent.com/14462db9ebaa3b38a484488ea3717fa95cce91a55330bad801172cb9b2fe3911/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74686f74616d2f74686f74616d2d66696c652d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thotam/thotam-file-library)[![Total Downloads](https://camo.githubusercontent.com/29000fb8a95c1220282fa760383c30e9a413664c1d63be0db9bd1b52f16fbe8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74686f74616d2f74686f74616d2d66696c652d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thotam/thotam-file-library)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

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

[](#installation)

You can install the package via composer:

```
composer require thotam/thotam-file-library
```

Usage
-----

[](#usage)

### Add this to config/filesystems.php

[](#add-this-to-configfilesystemsphp)

```
        'google' => [
            'driver' => 'google',
            'clientId' => env('MAIN_GOOGLE_DRIVE_CLIENT_ID'),
            'clientSecret' => env('MAIN_GOOGLE_DRIVE_CLIENT_SECRET'),
            'refreshToken' => env('MAIN_GOOGLE_DRIVE_REFRESH_TOKEN'),
            'folderId' => env('MAIN_GOOGLE_DRIVE_FOLDER_ID'),
        ],
```

### Add this to .env

[](#add-this-to-env)

```
MAIN_GOOGLE_DRIVE_CLIENT_ID=""
MAIN_GOOGLE_DRIVE_CLIENT_SECRET=""
MAIN_GOOGLE_DRIVE_REFRESH_TOKEN=""
MAIN_GOOGLE_DRIVE_FOLDER_ID=""

MAIN_GOOGLE_API_KEY=""

VIMEO_CLIENT=
VIMEO_SECRET=
VIMEO_ACCESS=

VIMEO_ALT_CLIENT=
VIMEO_ALT_SECRET=
VIMEO_ALT_ACCESS=
```

### Add ThotamGoogleDriveServiceProvider

[](#add-thotamgoogledriveserviceprovider)

```
add Thotam\ThotamFileLibrary\Providers\ThotamGoogleDriveServiceProvider::class to 'providers' in config/app.php
```

### Add FileLibraryTraits to you Model you want to you

[](#add-filelibrarytraits-to-you-model-you-want-to-you)

```
use Thotam\ThotamFileLibrary\Traits\FileLibraryTraits;
```

### Add ThotamFileUploadTraits to you Livewire class you want to handle your file

[](#add-thotamfileuploadtraits-to-you-livewire-class-you-want-to-handle-your-file)

```
use Thotam\ThotamFileLibrary\Traits\ThotamFileUploadTraits;
```

### add schedule to App\\Console\\Kernel;

[](#add-schedule-to-appconsolekernel)

```
$schedule->command('thotam-file-library:clean-public-disk')->everyTenMinutes();
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [thotam](https://github.com/thotam)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1841d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f582d4e5281117fa1d2e794c51134b94fca5f722e82ddc885da5ee1d7c7a0af5?d=identicon)[thotam](/maintainers/thotam)

---

Top Contributors

[![thotam](https://avatars.githubusercontent.com/u/78630736?v=4)](https://github.com/thotam "thotam (82 commits)")

---

Tags

thotamthotam-file-library

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thotam-thotam-file-library/health.svg)

```
[![Health](https://phpackages.com/badges/thotam-thotam-file-library/health.svg)](https://phpackages.com/packages/thotam-thotam-file-library)
```

###  Alternatives

[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[spatie/laravel-backup-server

Backup multiple applications

17016.7k1](/packages/spatie-laravel-backup-server)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)

PHPackages © 2026

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