php-generics VS php-generics-rfc

Compare php-generics vs php-generics-rfc and see what are their differences.

php-generics-rfc

Mirror of https://wiki.php.net/rfc/generics for easier collaboration (by PHPGenerics)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
php-generics php-generics-rfc
7 13
205 185
- 2.2%
3.9 0.0
24 days ago almost 6 years ago
PHP
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

php-generics

Posts with mentions or reviews of php-generics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-03.
  • How come there is no such thing as an equivalent to TypeScript in PHP?
    4 projects | /r/PHP | 3 Mar 2023
    Hi. I'm the author of the library which brings generics into PHP like TypeScript https://github.com/mrsuh/php-generics. Libraries like this have a few big problems to start using them freely:
  • Parsing with PHP, Bison and re2c
    4 projects | /r/PHP | 26 Aug 2022
    I used this knowledge to create the PHP generics library.
  • Comparing PHP Collections
    2 projects | /r/PHP | 22 Mar 2022
    Hi! I don't think so. Is used this library to translate generics syntax into regular PHP syntax. It's not equal to real PHP generics (like Hack did). IDE doesn't support PHP generic syntax yet. You can read about it here.
    4 projects | dev.to | 22 Mar 2022
    If you are only using simple collections you can use array - it is very fast and requires little memory. PHP doesn't support generic syntax and IDE can't make hints about the type of objects in a collection (yet), but if you want PHP to do type checks at runtime you can test the php-generics library.
  • PHP type erasure generics
    1 project | /r/PHP | 25 Feb 2022
    A few months ago I created a PHP generics library with monomorphic generics. Today I released version 1.2.0 with type erase generics.
  • Generics implementation approaches
    2 projects | dev.to | 8 Feb 2022
    This approach has a big memory effect. PHP doesn't support native generics, but you can test monomorphized generics with my library.
  • PHP Generics. Right here. Right now
    4 projects | /r/PHP | 14 Sep 2021
    } ``` Library: https://github.com/mrsuh/php-generics Example repo: https://github.com/mrsuh/php-generics-example Have a nice day!

php-generics-rfc

Posts with mentions or reviews of php-generics-rfc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.

What are some alternatives?

When comparing php-generics and php-generics-rfc you can also consider the following projects:

php-var-sizeof - Function for getting size of any PHP variable in bytes

php-strict-array - Generator of strict arrays (vector, map)

shim - Shim version of PHP CS Fixer

php-src - The PHP Interpreter

php-collections-comparison - https://dev.to/mrsuh/comparing-php-collections-5cca

scalar_objects - Extension that adds support for method calls on primitive types in PHP

ruby - The Ruby Programming Language

LazyIter - Lazy array function chains library for PHP inspired in Rust

php-generics-example

you-are-using-it-wrong - :oncoming_police_car: Type check enforcement for library authors: enforces type-safety downstream

phel-lang - Phel is a functional programming language that transpiles to PHP. A Lisp dialect inspired by Clojure and Janet.