11PHP HTTP Tools
22=======================================
33
4- PHP HTTP Tool kit that brings common functionality in a standarized way,
5- supporting PSR-7 and PSR-17 standards .
4+ PHP HTTP Tool kit that brings common functionality in a standard way,
5+ supporting PSR-7 and PSR-17.
66
77Installation
88---------------------------------------
@@ -16,12 +16,12 @@ composer install francerz/php-http-tools
1616Featured functionality
1717----------------------------------------
1818
19- ### HttpFactoryManager class
19+ ### HttpFactoryManager class
2020
2121Preserve per instance, reference of PSR-17 Factories (psr/http-factory).
2222Uses set and get methods to manage existing factory instances.
2323
24- #### Individual setter methods
24+ #### Individual setter methods
2525
2626- ` setRequestFactory(RequestFactoryInterface $requestFactory) `
2727- ` setResponseFactory(ResponseFactoryInterface $responseFactory) `
@@ -41,15 +41,15 @@ previously.
4141- ` getUploadedFileFactory() : UploadedFileFactoryInterface `
4242- ` getUriFactory() : UriFactoryInterface `
4343
44- #### Automatic setter method
44+ #### Automatic setter method
4545
4646The method ` setMatchingFactories($factoryObject) ` receives an object and
4747checks implementation of each Factory Interface. All matching interfaces
4848will be set.
4949
5050This method is included on the constructor to quick factory setting.
5151
52- ### UriHelper class
52+ ### UriHelper class
5353
5454Provides methods for common manipulation to ` UriInterface ` objects.
5555
@@ -70,24 +70,24 @@ Provides methods for common manipulation to `UriInterface` objects.
7070- ` getQueryParams(UriInterface $uri) : array `
7171- ` getQueryParam(UriInterface $uri, string $key) : ?string `
7272
73- #### Fragment part manipulation
73+ #### Fragment part manipulation
7474
7575- ` withFragmentParam(UriInterface $uri, string $key, $value) : UriInterface `
7676- ` withFragmentParams(UriInterface $uri, array $params, $replace = true) : UriInterface `
7777- ` withoutFragmentParam(UriInterface $uri, string $key, &$value = null) : UriInterface `
7878- ` getFragmentParams(UriInterface $uri) : array `
7979- ` getFragmentParam(UriInterface $uri, string $key) : ?string `
8080
81- ### MessageHelper class
81+ ### MessageHelper class
8282
8383Provides methods for common manipulation to ` MessageInterface ` objects.
8484
85- #### Helper setup
85+ #### Helper setup
8686
8787- ` setHttpFactoryManager(HttpFactoryManager $factories) `
8888- ` setAuthenticationSchemes(array $authenticationSchemeClasses) `
8989
90- #### Creating a request object from server parameters
90+ #### Creating a request object from server parameters
9191
9292- ` getCurrentRequest() : RequestInterface `
9393
0 commit comments