awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

3 个仓库

Awesome GitHub RepositoriesAttribute Casting

Automatic conversion of database columns into specific object types during model hydration.

Distinct from Load-Time Type Casting: Focuses on application-level model attribute casting rather than database ingestion-time type specification.

Explore 3 awesome GitHub repositories matching data & databases · Attribute Casting. Refine with filters or upvote what's useful.

Awesome Attribute Casting GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • alexeymezenin/laravel-best-practicesalexeymezenin 的头像

    alexeymezenin/laravel-best-practices

    12,299在 GitHub 上查看↗

    This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The

    Uses model casting to automatically convert database timestamps into date objects for consistent manipulation.

    在 GitHub 上查看↗12,299
  • larastan/larastanlarastan 的头像

    larastan/larastan

    6,430在 GitHub 上查看↗

    Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati

    Checks that the return type and array shape of model casts match the expected configuration.

    PHP
    在 GitHub 上查看↗6,430
  • jeremyevans/sequeljeremyevans 的头像

    jeremyevans/sequel

    5,076在 GitHub 上查看↗

    Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder, and schema migration capabilities. It maps database tables to Ruby classes with support for associations, validations, lifecycle hooks, and eager loading, offering a comprehensive ORM layer for building data-centric applications. Sequel distinguishes itself through a plugin-based extension architecture that allows composable customization of models, databases, and datasets without relying on deep inheritance hierarchies. It includes a thread-safe connection pool with support f

    Automatically casts database column values to Ruby types on read and write operations.

    Ruby
    在 GitHub 上查看↗5,076
  1. Home
  2. Data & Databases
  3. Data Type Casting
  4. Load-Time Type Casting
  5. Attribute Casting

探索子标签

  • Cast Configuration ValidationVerification that model attribute casting definitions match expected types and array shapes. **Distinct from Attribute Casting:** Distinct from Attribute Casting by validating the configuration of the cast rather than performing the actual conversion.