PHPackages                             sunkan/php-mogilefs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sunkan/php-mogilefs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sunkan/php-mogilefs
===================

MogileFs client for php

3.1.0(2y ago)276.6k↓37.5%5MITPHPPHP ^8.0

Since Apr 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sunkan/php-mogilefs)[ Packagist](https://packagist.org/packages/sunkan/php-mogilefs)[ RSS](/packages/sunkan-php-mogilefs/feed)WikiDiscussions master Synced 1mo ago

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

Php MogileFs client
===================

[](#php-mogilefs-client)

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

[](#installation)

The preferred method of installing this library is with [Composer](https://getcomposer.org/) by running the following from your project root:

```
$ composer require sunkan/php-mogilefs

```

Documentation
-------------

[](#documentation)

- [Instantiating](#instantiating)
- [Domain client](#domain-client)
    - [Create domain](#create-domain)
    - [Delete domain](#delete-domain)
    - [List domains](#list-domains)
- [Class client](#domain-client)
    - [Instantiating](#instantiating-1)
    - [Create class](#create-class)
    - [Update class](#update-class)
    - [Delete class](#delete-class)
- [File client](#file-client)
    - [Instantiating](#instantiating-2)
    - [Get paths](#get-paths)
    - [Get file info](#get-file-info)
    - [Delete file](#delete-file)
    - [Rename file](#rename-file)
    - [List files](#list-files)
    - [Upload file](#upload-file)
        - [File types](#file-types)
            - [Blob](#blob)
            - [Local](#local-file)
            - [Psr-7](#psr-7-file-upload)
            - [Resource](#resource)
            - [Factory](#factory)
        - [Example](#upload)

### Instantiating

[](#instantiating)

```
