Releases: leafsphp/fs
Releases · leafsphp/fs
🪨 Sandstone
v2.0 - 7 Nov 2024
Added
- Added
storage()
andpath()
methods - Added
File
,Directory
andStorage
classes
Fixed
- Fixed implementation of file storage interactions
Changed
- Replaced FS class with new subclasses
- Path class for all path operations
- Created unified API for working with files/directories
Removed
- Merged
copy()
,deepCopy()
andsuperCopy()
intoDirectory::copy()
v1.3.0
v1.3.0 - 24 August 2024
Fixed
- Fixed direct dependence on MVC-only features
- Corrected internal type issues
v1.2
v1.2
v1.2 - 09 August 2024
publicPath
Method: Returns a public accessible path for files in storage/app
# usage example
FS:publicPath('/storage/app/calls/audio.mp3')
// output: calls/audio.mp3
url
Method: Return a file url
# usage example
FS:url('/storage/app/calls/audio.mp3')
// output: https://appdomain.com/calls/audio.mp3
v1.1
v1.1 - 3 Sep 2023
Updated dependencies
v1.0
20 Sep, 2021