Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Simple Serializer

Simple Serializer Laravel Package

opensoft/simple-serializer

opensoft/simple-serializer is a lightweight PHP serializer for turning objects and Eloquent models into arrays or JSON. Define attributes once and produce consistent, predictable API payloads with minimal boilerplate and configuration.

Deep Wiki
Context7

opensoft/simple-serializer is a lightweight PHP package that gives you a clean, predictable way to turn Eloquent models and plain objects into arrays or JSON. Instead of scattering toArray() overrides across your codebase, you define a dedicated serializer for each model—keeping presentation logic separate from your domain and making output easy to test and reuse.

  • Dedicated serializer classes for explicit, readable output
  • Consistent array and JSON responses across your API
  • Composable fields for shaping nested data
  • Built for Laravel/Eloquent with a minimal footprint
  • Simple to extend and override per endpoint
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo