Comments (1)
only pinning some suggestions/hints:
Following may work with magic __toString
returning a URL for registered stream wrapper
$fs = create_filesystem();
$f = $fs->getFile('my_file');
$fp = fopen($f);
You mentioned their will be a general stream wrapper producing something like phpfs://<fs_hash>/my_file
, but if applicable it would be nice to return the native wrapper, e.g. on local file system file:///<fs_path>/my_file
.
since the generated stream wrapper URLs are only valid in current runtime context, you can use spl_object_hash
on the filesystem instance instead generating some config based hashes.
from core.
Related Issues (20)
- Remove dynamic constructors
- Rework Config interface HOT 1
- Provide ConfigConfigurators HOT 1
- Rename organisation and repositories due to composer naming convention. HOT 2
- Do not use `new DateTime('@' . $timestamp)` HOT 6
- Definition: Warnings or more critical errors have to be thrown as exceptions HOT 1
- Behavior of copyTo/moveTo on mounts HOT 1
- behavior of exists/isFile/isDir on mounts HOT 7
- Is a mounting functionality really this useful? HOT 9
- Provide default registry for configured filesystems. HOT 1
- Replace File::getMIME*() methods with a single File::getMIME() method HOT 1
- Replace File::getMD5() and File::getSHA1() methods with File:getHash($algo); HOT 1
- I need some help on directory deleting... HOT 2
- What is the current status of this project? HOT 2
- Simplify the API HOT 2
- Rework plugin system HOT 1
- Wrong classes in the documentation HOT 2
- Documentation HOT 1
- We canβt connect to the server at www.filicious.org. HOT 3
- Build failing on Travis (deprecated PHP 5.3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.