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
Propel Serializer Bundle

Propel Serializer Bundle Laravel Package

smirik/propel-serializer-bundle

Symfony bundle that integrates Propel ORM with the Symfony Serializer, enabling normalization and denormalization of Propel models and collections for APIs with configurable property, relation, and serialization group handling.

View on GitHub
Deep Wiki
Context7

Serializers for Propel ORM

Frequently asked questions about Propel Serializer Bundle
Can I use smirik/propel-serializer-bundle in a Laravel application?
Not practically. It is a Symfony bundle that registers Propel serializer services into Symfony's dependency injection container, and Laravel has no natural seam for bootstrapping Symfony bundles. Using it would mean pulling Symfony HttpKernel and DependencyInjection components into Laravel just to serialize models. Laravel already solves this natively with API Resources, toArray(), and the Jsonable and Arrayable contracts.
Is smirik/propel-serializer-bundle a Laravel package?
No, it is a Symfony bundle built around Propel ORM, not a Laravel package. It integrates Propel models with the Symfony Serializer for normalization and denormalization. Its architecture targets Symfony's DI container and does not map onto Laravel service providers or Eloquent.
How do I install smirik/propel-serializer-bundle?
You would install it with Composer, but it is intended for Symfony applications using Propel ORM, not Laravel. Add it to a Symfony project and register the bundle in the kernel, then configure Propel and serializer services. In Laravel, installation alone will not wire it into the framework's request and response lifecycle.
What PHP and Symfony versions does smirik/propel-serializer-bundle support?
The package shows signs of being a Symfony 2-era bundle with Propel 1.x lineage and older PHP constraints. It is almost certainly incompatible with PHP 8.x and modern Symfony or Laravel runtimes without patching. Verify composer constraints and run a smoke test before relying on it.
Does smirik/propel-serializer-bundle work with Eloquent models?
No. The package is designed around Propel ORM model objects and collections, so Eloquent models are not supported. Laravel's Eloquent already implements Arrayable, Jsonable, and JsonSerializable, which cover the same serialization use cases. Use API Resources or toArray() for Eloquent instead.
What is the Laravel-native alternative to smirik/propel-serializer-bundle?
Use Eloquent models with toArray(), JsonSerializable, or dedicated API Resource classes for response shaping. Laravel's JsonResource layer handles relations, conditional fields, and envelopes without any extra dependency. For custom serialization logic, a small in-house serializer is usually cheaper than maintaining an external bundle.
Can I run Propel and Eloquent side by side in Laravel?
It is technically possible but architecturally costly. You would have duplicate connection management, divergent migration tooling, two hydration models, and ambiguity over which layer owns transactions and model events. The package provides no adapter path, so you either commit to Propel or avoid it entirely.
How does smirik/propel-serializer-bundle handle relations and serialization groups?
It exposes Propel models and collections to the Symfony Serializer with configurable property, relation, and serialization group handling. This lets you shape JSON, array, or XML payloads from Propel objects. In Laravel, equivalent behavior is achieved with API Resources and conditional relationship loading.
Is smirik/propel-serializer-bundle maintained and production ready?
It has zero stars, zero dependents, and no evidence of production usage. There is no visible security response process, no CVE history to consult, and no maintainer accountability. Treat it as reference material rather than an installable dependency in a production Laravel app.
What should I do if I have a legacy Propel or Symfony app that uses this bundle?
Contain the legacy surface rather than integrating it into Laravel. Keep the Propel serializer behind an internal HTTP or message boundary, expose a versioned JSON contract, and let Laravel consume that contract. Do not attempt shared-process coexistence of Propel and Eloquent.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource