Git Product home page Git Product logo

http-factory's Introduction

Grüezi 👋

http-factory's People

Contributors

tbreuss avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

http-factory's Issues

Support for Guzzle PSR-7 Factory

Todo:

  • Add support for "guzzlehttp/psr7"
  • Write Unit Tests for new factory
  • Update README.md

Definition of done:

  • Unit Tests and PHPCS must finish successfully (by running composer test)

Support for PHP 7.4 and above / Replace Zend Diactoros with Laminas Diactoros

Todo:

  • Add support for PHP 7.4, 8.0, and 8.1 (and 8.2 if possible)
  • Replace package "zendframework/zend-diactoros" with "laminas/laminas-diactoros" and update corresponding PHP code
  • Update all composer dependencies (except slim/slim) to their latest versions
  • Update Unit Tests if necessary
  • Update README.md

Definition of done:

  • Unit Tests and PHPCS must finish successfully (by running composer test)

Upgrade Composer Package "slim/slim" to version ^4.0

Todo:

  • Upgrade Composer package for "slim/slim" to version ^4.0
  • Update dependent PHP code
  • Update Unit Tests if necessary
  • Update README.md

Definition of done:

  • Unit Tests and PHPCS must finish successfully (by running composer test)

PSR-4 autoloader standard info/warning

When using "tebe/http-factory": "^2.0" and optimizing the autoloader by running composer du -o it ends with the following infos/warnings.

Class Tests\Tebe\HttpFactory\DiactorosFactoryTest located in ./vendor/tebe/http-factory/tests/Factory/DiactorosFactoryTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Tests\Tebe\HttpFactory\NyholmFactoryTest located in ./vendor/tebe/http-factory/tests/Factory/NyholmFactoryTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Tests\Tebe\HttpFactory\GuzzleFactoryTest located in ./vendor/tebe/http-factory/tests/Factory/GuzzleFactoryTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Tests\Tebe\HttpFactory\SlimeFactoryTest located in ./vendor/tebe/http-factory/tests/Factory/SlimFactoryTest.php does not comply with psr-4 autoloading standard. Skipping.

Todo:

  • autoloader must comply with PSR-4
  • Tests must finish successfully

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.