grzegorz-jamroz/filesystem

There is no license information available for the latest version (1.0.1) of this package.

A PHP library for handling file and folder operations.

Installs: 109

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/grzegorz-jamroz/filesystem

1.0.1 2025-10-26 08:06 UTC

This package is auto-updated.

Last update: 2025-10-27 13:16:21 UTC


README

A PHP library for handling file and folder operations.

Code Coverage Code Coverage Code Coverage Read License

Installation

composer require grzegorz-jamroz/filesystem

Development with Docker

Build and run the containers:

docker compose up -d

Note: When working with Docker container - there is not need to create .env file with SUDOER_PASSWORD=password. It could be only required when working on host machine to properly run all tests.

Copy vendor folder from container to host

docker compose cp app:/app/vendor ./vendor

Run static analysis

docker compose exec app bin/fix

Run tests

docker compose exec app bin/test

Run single test file:

docker compose exec app vendor/bin/phpunit --filter <testMethodName> <path/to/TestFile.php>
docker compose exec app vendor/bin/phpunit --filter testShouldReturnExpectedFloat tests/Unit/TransformNumeric/ToFloatTest.php

Run coverage report

  1. Enable xdebug
  2. Run:
docker compose exec app bin/coverage

Enable xdebug

docker compose exec app xdebug on

Disable xdebug

docker compose exec app xdebug off