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
Yadm Bundle

Yadm Bundle Laravel Package

formapro/yadm-bundle

Symfony bundle for integrating YADM, a Yandex.Direct API client, into your application. It provides bundle configuration and service wiring so you can inject the client and manage advertising campaigns from PHP with less boilerplate.

View on GitHub
Deep Wiki
Context7

An efficient way to treat MongoDB in Symfony. Extremely fast persistence and hydration.

Frequently asked questions about Yadm Bundle
What is formapro/yadm-bundle used for?
It is a Symfony bundle that integrates Yadm, described in the package overview as Yet Another Data Mapper, into a Symfony application. It wires object managers, mappers, and metadata into the service container so domain objects stay independent of database concerns. It works alongside Doctrine DBAL connections and is positioned as a lighter alternative to a full ORM.
How do I install formapro/yadm-bundle?
Install it with Composer using composer require formapro/yadm-bundle. In a Symfony Flex app the bundle is usually enabled automatically; otherwise register it in config/bundles.php. Then add the bundle configuration for your DBAL connection, object managers, and mappings, and clear the cache.
Does formapro/yadm-bundle work with Laravel?
No. It is a Symfony bundle built around Symfony's DI container, configuration, and compiler passes, so it does not drop into a Laravel application as-is. Laravel developers would need a separate integration layer or should use a Laravel-native data-mapper package. Treat any Laravel usage as custom adapter work, not a supported path.
How do I configure Yadm object managers and mappers in Symfony?
Configuration is done through the bundle's Symfony config, where you define the DBAL connection, object managers, mappers, and metadata mapping. Yadm services are then available for autowiring and injection into your application services. Check the README for exact config keys because they are specific to the bundle version.
Which Symfony and PHP versions are supported by formapro/yadm-bundle?
The provided context does not list a supported Symfony or PHP version matrix, so verify the composer.json constraints for the 0.5.6 tag before adopting it. Test against your application's actual Symfony and PHP versions rather than assuming compatibility. This is especially important for a pre-1.0 package.
Does formapro/yadm-bundle require Doctrine ORM?
No, it integrates with Doctrine DBAL and provides its own object manager and mapper layer. Doctrine ORM is not required, which is the point if you want a lightweight persistence layer. You still need a DBAL connection configured for the database you use.
How do I test Yadm mappers in a Symfony app?
Unit-test domain objects without any database, since the data-mapper design keeps them independent of persistence. Integration-test mappers against a real DBAL connection using a test database and the Symfony test container. Keep mapper tests focused on SQL and DBAL behavior and mapping metadata, not on framework internals.
Is formapro/yadm-bundle production-ready?
It is at 0.5.6, a pre-1.0 release, so the public API should be treated as unstable. Release 0.5.6 has no release notes in the provided assessment, so the change set and backward compatibility are unknown. Pin the version, review the diff, and wrap it behind your own adapter before using it in production.
How does formapro/yadm-bundle compare to Doctrine ORM?
It is a lighter data-mapper integration that keeps domain objects independent from database concerns without the full ORM feature set. Doctrine ORM offers more tooling, lifecycle events, and a larger ecosystem, while Yadm aims at simpler mapping over DBAL. Choose it when you want explicit mappers and less ORM magic, not when you need Doctrine's full feature set.
What should I check before upgrading formapro/yadm-bundle from 0.5.5 to 0.5.6?
Review the tagged diff because the release has no notes and a 0.x version can change behavior without a major bump. Check for changes to default config values, service bindings, mapper metadata handling, and DBAL assumptions. Run your mapper integration tests and keep a pinned fallback version.
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package