All Versions
6
Latest Version
Avg Release Cycle
70 days
Latest Release
933 days ago

Changelog History

  • v2.2.0 Changes

    September 28, 2021
    • โž• add replace method for File.
    • โž• add sharedGet method for File.
    • โž• add ability to get method for File.
  • v2.1.0 Changes

    August 06, 2021
    • โž• add ensureExists method for Directory.
  • v2.0.0 Changes

    February 19, 2021
    • ๐Ÿšš Move to PHP 7.4
    • ๐Ÿ›  Fix tests
    • ๐Ÿ”จ Code refactoring
  • v1.1.0 Changes

    December 05, 2020
    • โž• add ability to extend Filesystem class with Macros.

      use Atomastic\Filesystem\Filesystem;
      use Atomastic\Macroable\Macroable;
      
      Filesystem::macro('countFiles', function($path) {
          return count(iterator_to_array($this->find()->in($path)->files(), false));
      });
      
      $filesytem = new Filesystem();
      
      echo $filesytem->countFiles('/directory');
      
    • ๐Ÿ‘Œ improve tests for directory create() method.

  • v1.0.1 Changes

    October 17, 2020
    • ๐Ÿ›  fix Directory copy() method.
  • v1.0.0 Changes

    October 15, 2020
    • ๐ŸŽ‰ Initial release