http-message
console
Our great sponsors
http-message | console | |
---|---|---|
17 | 4 | |
6,903 | 9,647 | |
0.4% | 0.3% | |
2.4 | 7.7 | |
7 months ago | 11 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
http-message
-
Testing an OpenAPI specification in PHP
There is a package within The PHP League that allows validation of an OpenAPI specification: league/openapi-psr7-validator. This package validates requests and responses to the PSR-7 specification.
-
How to use PSR HTTP standards to upgrade your code
PSR-7, the standard for requests and responses
-
Need some advice. Which is better? Guzzle or cURL?
Guzzle implements PSR-7: HTTP message interfaces (but apparently not yet PSR-18: HTTP Client, or at least they don't mention it). That means it's possible to use it in third-party libraries/frameworks and easy to replace with similar tools.
-
Creating an application #8 - application
The Yii HTTP Application provides the Application::class, as well as the events and handlers needed to interact with HTTP. The package is implemented using PSR-7 and PSR-15 standards.
-
Creating an application #1 - introduction
[PSR Http Message.](https://github.com/php-fig/http-message) This repository holds all interfaces/classes/traits related to [PSR-7](http://www.php-fig.org/psr/psr-7/).
-
Creating an application in Yii3.
PSR Http Message. This repository holds all interfaces/classes/traits related to PSR-7.
-
The PHPer's Guide to OAuth
Since the library is designed to be easily integrated with different frameworks, it relies on the usage of PSR-7 compliant HTTP messages. To fulfill this requirement, I'll be using the nyholm/psr7 package.
-
FrankenPHP, an app server for PHP written in Go: worker mode, Early Hints support, real-time capabilities, automatic HTTPS & HTTP/3
Sounds good for the future given that PHP-FIG seems uninterested in maintaining the related code repo https://github.com/php-fig/http-message/pull/95
- Legacy "Routing" with PHP 8.1
- Decorator pattern implementing interface
console
-
Creating an application in Yii3.
Symfony console component. The Console component eases the creation of beautiful and testable command line interfaces.
-
A minimal library that defines primitive building blocks of PHP code.
I have to disagree. To me, declaring a method via the @method tag (in rare cases) is equivalent to actually declaring it in a class/interface. Due to PHP limitations, the obvious lack of generics, and what I wrote earlier, I simply couldn't do it any other way. Take eg. HttpClientInterface from symfony/http-client-contracts or InputInterface from symfony/console, they had different reasons but the outcome is the same.
-
Introducing Phirs (0.1.0), a cross-platform and well-tested user directory path provider library, including cache and config paths
I don't think so. Phoronix Test Suite is a big example. Plus, in the PHP community itself, there are so many CLI apps: Composer, PHPUnit, static analyzers like Phan, just to name a few. Symfony Console component has more than 9k stars, so this should mean PHP is a capable tool for CLI apps.
-
Administrando proyectos PHP con Composer
{ "name": "symfony/console", "version": "v4.4.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", "reference": "10bb3ee3c97308869d53b3e3d03f6ac23ff985f7" }, }
What are some alternatives?
L5-Swagger - OpenApi or Swagger integration to Laravel
http-kernel - Provides a structured process for converting a Request into a Response
Nyholm PSR-7 - A super lightweight PSR-7 implementation
drush - Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
PHP Dotenv - Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
polyfill-mbstring - Symfony polyfill for the Mbstring extension
PHP OAuth 2.0 Server - A spec compliant, secure by default PHP OAuth 2.0 Server
process - Executes commands in sub-processes
HTTPFul - A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.
event-dispatcher - Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
http-structured-fields - Structured Field Values for HTTP manipulation in PHP
http-foundation - Defines an object-oriented layer for the HTTP specification