PHPackages                             gotipath/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. gotipath/storage

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

gotipath/storage
================

Gotipath Storage is a file storage library for PHP. It provides one interface to interact with FTP/SFTP. When you use this package, you're protected from vendor lock-in, That mean you can connect to any FTP/SFTP storage. Also it's comes with base URL option to connect Gotipath CDN.

1.0(4y ago)22MITPHPPHP ^7.3

Since Nov 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gotipath/storage)[ Packagist](https://packagist.org/packages/gotipath/storage)[ Docs](https://github.com/gotipath/storage)[ GitHub Sponsors](https://github.com/gotipath)[ RSS](/packages/gotipath-storage/feed)WikiDiscussions main Synced 1mo ago

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

Gotipath Object storage
=======================

[](#gotipath-object-storage)

Gotipath Storage is a file storage library for PHP. It provides one interface to interact with FTP/SFTP. When you use this package, you're protected from vendor lock-in, That mean you can connect to any FTP/SFTP storage. Also it's comes with base URL option to connect Gotipath CDN.

[![Latest Version on Packagist](https://camo.githubusercontent.com/d4f93d1e46a5d8146f0cf39447a1af0e63ac1edf4d062c91a2132a22e12f6765/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f7469706174682f73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gotipath/storage)[![GitHub Tests Action Status](https://camo.githubusercontent.com/59ba189e5bb66585848d0ed363f11b8cdb0a8eb6e7e99d0c11cbc8b057af4b83/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f676f7469706174682f73746f726167652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/gotipath/storage/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8f8cfe7f8a9c957bfb804234580c5a02280c991e8e311744519b74d93b3fb50a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f676f7469706174682f73746f726167652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/gotipath/storage/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/28791c5d6e59c948c80e52e05594c63aefcf0876db8023da7c390552a525d808/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676f7469706174682f73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gotipath/storage)

---

This package can be used as a framework-agnostic package. Follow these steps to get started:

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

[](#installation)

You can install the package via composer:

```
composer require gotipath/storage
```

Usage
-----

[](#usage)

```
require_once __DIR__ . '/vendor/autoload.php';

$storage = new Storage('sftp', [
    'host' => 'ftp.fas.xyx.com',
    'username' => 'sftp/ftp username',
    'password' => 'sftp/ftp password',
    //if you connecting ssh
    // 'privateKey' => '/path/to/privateKey',
//            'password' => 'encryption-password',
    'port' => 22,
    'root' => '/pub',
    'timeout' => 30,
],$baseUrl='https://cdn.gotipath.com');
```

create directory
----------------

[](#create-directory)

```
    $path = 'uploads/testdir';
    $config = []; // optional
    $storage->makeDirectory($path, $config);
```

get file
--------

[](#get-file)

```
    $storage->get($path);
```

multipart/formdata upload
-------------------------

[](#multipartformdata-upload)

```
    $inputFile = $_FILES['file'];

    $path = 'uploads/'.$inputFile['name'];

    $temp = $_FILES["file"]["tmp_name"];

    $storage->upload($path,$temp);
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sohel Mia](https://github.com/gotipath)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

1654d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27577bafa3a9a4946338ae50b2d9b9dbf990a8ff1e2f4515a8cb1798c669b6fb?d=identicon)[gotipath](/maintainers/gotipath)

---

Top Contributors

[![mdsohelmia](https://avatars.githubusercontent.com/u/40440531?v=4)](https://github.com/mdsohelmia "mdsohelmia (8 commits)")[![gotipath](https://avatars.githubusercontent.com/u/91463489?v=4)](https://github.com/gotipath "gotipath (2 commits)")

---

Tags

cdnstoragestoragegotipathgotipath CDNGotipath object storageGotipath FTP storage

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gotipath-storage/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[zgldh/qiniu-laravel-storage

Qiniu Resource (Cloud) Storage SDK for Laravel 5/6/7/8/9

530394.0k14](/packages/zgldh-qiniu-laravel-storage)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)[nimbusoft/flysystem-openstack-swift

Flysystem adapter for OpenStack Swift

44774.4k6](/packages/nimbusoft-flysystem-openstack-swift)[unisharp/laravel-fileapi

Laravel File API - Handle Files with Laravel Storage

5345.3k](/packages/unisharp-laravel-fileapi)[vormkracht10/flysystem-uploadcare

Flysystem driver for Uploadcare for Laravel.

1834.2k](/packages/vormkracht10-flysystem-uploadcare)

PHPackages © 2026

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