Type Assumptions & Assertions simplified

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • php-cast

  • Since I've had to work with user-specific data a lot more than usual in the last few months, I've been using assert, webmozart/assert and beberlei/assert, and - since I'm using phpstan - external phpstan rules. But I was never satisfied with Assert::integer($id); to check if $id is actually an int. Mainly because this was only possible in combination with the external phpstan rules that make phpstan believe that $id must now be an int, because otherwise an exception would be thrown. Without these external phpstan rules, $id would still be seen as mixed, for example. My answer to this kind of problem is (for now) php-cast. What do you think? Useless or okay-ish?

  • assert

    Assertions to validate method input/output with nice error messages.

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

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to implement JWT in Laravel API

    1 project | dev.to | 4 May 2024
  • ¿PHP, Muerto o No?

    2 projects | dev.to | 4 May 2024
  • PHP Doesn't Suck Anymore

    5 projects | news.ycombinator.com | 4 May 2024
  • Ask HN: Freelancer? Seeking freelancer? (May 2024)

    2 projects | news.ycombinator.com | 2 May 2024
  • PHP SQL Template Engine

    1 project | news.ycombinator.com | 2 May 2024