phpstan-safe-rule
PHP Defer
phpstan-safe-rule | PHP Defer | |
---|---|---|
1 | 2 | |
55 | 278 | |
- | 1.4% | |
0.0 | 3.5 | |
over 1 year ago | 8 months ago | |
PHP | PHP | |
- | 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.
phpstan-safe-rule
-
Native defer & errdefer
This, together with https://github.com/thecodingmachine/phpstan-safe-rule , it's impossible to ever forget about it and implicitly solves such problems.
PHP Defer
- A practical use case of anonymous classes in PHP
-
Native defer & errdefer
php-defer/php-defer: Golang's defer statement for PHP (github.com)
What are some alternatives?
Safe - All PHP functions, rewritten to throw exceptions instead of returning false
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
React - Event-driven, non-blocking I/O with PHP.
Event - Event package for your app and domain
EventSaucePHP - A pragmatic event sourcing library for PHP with a focus on developer experience.
Rx.PHP - Reactive extensions for PHP.
Evenement - Événement is a very simple event dispatching library for PHP.
Amp - A non-blocking concurrency framework for PHP applications. 🐘
Broadway - Infrastructure and testing helpers for creating CQRS and event sourced applications.
Elephant.io - Ça trompe énormément
Icicle - Icicle is a PHP library for writing asynchronous code using synchronous coding techniques
Recoil - Asynchronous coroutines for PHP 7.