inisiatif/model-shared
Shared Laravel models for Inisiatif Zakat Indonesia covering occupation, education level, geographic regions (country down to village), and marital status, plus a Donor model with configurable branch and employee relations.
Consider adoption when:
resolveRelationUsing without hard-coding app-specific models into the package.Look elsewhere or build custom when:
Executives: Position it as an internal accelerator and data-standardization asset, not a strategic public open-source dependency. If we build multiple Laravel zakat applications, adopting it can reduce duplicate model/migration work, speed donor/disbursement/admin feature delivery, and align reporting on Indonesian regions and donor records. Recent releases (2.10.6) show continued internal investment — the model coverage keeps expanding — which is a positive maintenance signal but also means the schema is a moving target. Recommend a time-boxed pilot in one app with version pinning and an internal owner. Success measures: model/migration effort avoided, faster feature cycle time, fewer cross-app data mismatches. Main risk: low external adoption and small community; treat it as an owned dependency and budget maintenance plus per-release upgrade review.
Engineering/product leads: It is a Composer package of shared Eloquent models, migrations, and a service provider, with dynamic relations for app-specific links such as Donor→Branch/Employee and a region search API. Release 2.10.6 is a non-breaking additive release adding new models via PR #46 — review the diff to see which entities are now available, and whether they overlap or conflict with tables you already maintain. Use it for reference/common domain tables; extend in app code via dynamic relations or subclassing rather than forking unless necessary. Validate Laravel compatibility, migration ordering, ID/UUID strategy, and upgrade path, and add integration tests around package tables. Good fit for internal multi-app standardization; weak fit for public, global, or highly customized products.
How can I help you explore Laravel packages today?