Skip to content

harrydeluxe/mongofilesystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filesystem based on MongoDB GridFS

Mongofilesystem will help you use MongoDB GridFS like a typical filesystem, using the familiar PHP commands.

Features

  • supports folder
  • temporary files for more performance
  • auto versioning for files

Basics

Example snippet:

$fs = new MongoFs(&$db);
$fs->import($name, $file);

Implemented commands

  • etag
  • mimetype
  • filemtime
  • filesize
  • is_file
  • file_exists
  • readfile
  • file_get_contents
  • file_put_contents
  • import
  • rename
  • unlink
  • scandir
  • rmdir
  • dirname
  • mkdir
  • is_dir

Issues

Have a bug? Please create an issue here on GitHub!

https://github.com/harrydeluxe/mongofilesystem/issues

About

MongoDB Filesystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages