Skip to content

Releases: basantashubhu/array-model

1.1.0

Choose a tag to compare

@basantashubhu basantashubhu released this 21 Apr 07:26
a61c0bb

Full Changelog: 1.0.0...1.1.0

Array Model — Initial Release

Choose a tag to compare

@basantashubhu basantashubhu released this 15 Apr 06:33

Array Model — Initial Release

First public release of basanta/array-model, a lightweight Laravel-friendly package for model-like operations on in-memory arrays.

Highlights

  • In-memory model class support (no database required)
  • Collection-style querying with where() and multi-condition filters
  • Bulk update() and delete() on filtered records
  • Relationship support:
    • hasMany
    • hasOne
    • belongsTo
  • Lazy loading support:
    • On first property access (e.g. $user->posts)
    • Bulk relationship loading via Model::load(...)

Installation

composer require basanta/array-model