Restricting ORM objects to repository classes and DTOs

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-dto

    A data transfer object inspired by Rust's serde

  • I'm not sure there's a one-size-fits-all solution here, but there are a bunch of DTO packages that make converting simple. I'm particularly intrigued by this one though I haven't actually tried it in anger. A lot of it seems to reinvent Symfony+Doctrine features like model validation, but it's more general and not tied to those frameworks.

  • data-transfer-object

    Discontinued Data transfer objects with batteries included

  • This spatie lib looks neat too, though it might not be all that static analysis friendly. I guess this doesn't save you from having two classes with the same properties. Seems like it could be worth a shot. Short of inventing a code generation tool I don't know how much better I can do.

  • 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

  • A (very) small package to cast a variable to a new type, in including custom classes

    2 projects | /r/PHP | 8 Dec 2022
  • Given a messy class used _heavily_ with a hard time understanding whats going on... how to log stuff in testing / demo??

    1 project | /r/laravel | 24 Sep 2022
  • Refactoring #5: From arrays to Data Transfer Objects

    2 projects | dev.to | 23 Apr 2022
  • Leveraging DTOs for JSON database columns as an alternative to additional tables

    1 project | dev.to | 22 Apr 2022
  • What are peoples thoughts/feelings regarding PHP attributes?

    1 project | /r/PHP | 16 Dec 2021