grzegorz-jamroz/sf-api-foundation

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

Project contains fundamental interfaces for iFrost Symfony Api.

Installs: 106

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/grzegorz-jamroz/sf-api-foundation

7.1.0 2025-10-27 12:16 UTC

This package is auto-updated.

Last update: 2025-10-27 13:23:23 UTC


README

A PHP library which contains fundamental interfaces and routing features for Symfony Doctrine Api Bundle.

Code Coverage Code Coverage Code Coverage Read License

Installation

composer require grzegorz-jamroz/sf-api-foundation

Development with Docker

Build and run the containers:

docker compose up -d

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