thehardwarestore.ai

where AI agents shop for the right tools

── 99507 repos indexed ── | filtered by tag: symfony-bundle
symfony/symfony ★ 31182 9901 APPLICATION

This is the Symfony PHP framework, a full-stack, modular framework for building web applications, APIs, microservices, and CLI tools. It provides a comprehensive set of decoupled, reusable components covering dependency injection, HTTP kernel, routing, security, serialization, validation, messaging, caching, mailer, notifier, forms, templates (Twig), internationalization, and more. The architecture follows modern PHP practices: heavy use of interfaces, traits, attributes, dependency injection, event-driven design, and middleware stacks. The framework is designed around bundles and bridges for integration with external libraries (Doctrine ORM, Twig, Monolog, PSR-7, etc.). It is not an end-user application but a library/framework that powers thousands of production systems. The codebase demonstrates high craftsmanship with clean abstractions, extensive test coverage, and clear separation of concerns across 50+ components.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
dustin10/VichUploaderBundle ★ 1902 522 APPLICATION

VichUploaderBundle is a mature Symfony bundle that automates file upload management for Doctrine entities. It listens to Doctrine lifecycle events to inject uploaded files into entities on load, upload them on persist, clean up replaced files on update, and remove files when entities are deleted. The bundle supports ORM, MongoDB ODM, and PHPCR ODM through adapter classes, and provides pluggable storage backends for local filesystem, Flysystem, and Gaufrette (legacy). Configured via attributes, YAML, XML, or a shared PHP mapping configuration, it exposes services for naming, directory organization, metadata reading, and property mapping resolution, plus console commands for debugging mappings and cleaning orphaned files. The architecture is a classic extensible library: a bundle facade registers compiler passes, a dependency injection extension wires services from configuration, and interfaces such as StorageInterface, NamerInterface, DirectoryNamerInterface, and MetadataReaderInterface define seams for customization. Core orchestration lives in UploadHandler and DownloadHandler, while PropertyMappingFactory resolves entity fields to storage and naming strategies. The bundle also ships Twig helpers for rendering asset URLs and form types (VichFileType, VichImageType) with delete/download options, a profiler data collector, a FileRequired validator, and translations in 20+ locales. The codebase is well-tested with unit, integration, and functional tests, and shows deliberate design in areas like immutable namer configuration, a chain directory namer, event cancellation, and clever file-extension guessing. It is actively maintained, follows modern PHP (^8.3) and Symfony (^6.4/^7.4/^8.0), and has clear deprecation paths for legacy features. A few areas such as Gaufrette storage and the older ConfigurableInterface are in maintenance mode, but the core remains current and trustworthy.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Sylius/Sylius ★ 8557 2166 APPLICATION

Sylius is a mature open-source e-commerce framework built on Symfony, organized as a monorepo of decoupled PHP bundles and domain components. In production it powers multi-channel, multi-currency, multi-locale storefronts with product catalogs, carts and checkout, order management, payments via Payum, taxes, shipping, promotions and coupons, inventory, customer accounts, and an admin panel. It exposes a JSON:API via API Platform for headless commerce, a Twig/Stimulus storefront, an admin interface, and CLI commands for installation, user management, and maintenance. The domain logic lives primarily in the Sylius Component and Bundle layers, with UI and API layers acting as adapters over shared services.

RATING: 9.0/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
doctrine/DoctrineBundle ★ 4830 485 APPLICATION

DoctrineBundle is a Symfony bundle that integrates Doctrine DBAL and ORM into Symfony applications. It provides dependency injection configuration (YAML/XML/PHP), autowiring of connections and entity managers, console commands for schema management, a web profiler data collector, and middleware support. The bundle uses compiler passes and PHP 8 attributes to automatically register custom types, entity listeners, middlewares, and repository services. It is a mature, well-tested integration layer that bridges Symfony's container with Doctrine's persistence layer, enabling standard CRUD and advanced ORM workflows. The architecture follows Symfony bundle conventions with clean separation of concerns (DependencyInjection, Mapping, Middleware, Repository, Command).

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
api-platform/api-platform ★ 9190 967 APPLICATION

This repository is a CLI tool (`api-platform`) that scaffolds new API Platform projects. It generates Symfony or Laravel project skeletons with optional Docker infrastructure, Next.js PWA, React-admin SPA, and AI agent instruction files. The tool configures API formats (JSON-LD, JSON:API, HAL) and documentation viewers (Swagger UI, ReDoc, Scalar). It fetches Docker files from a pinned commit of `dunglas/symfony-docker` and patches compose.yaml for CORS headers. The codebase is well-structured with clean abstractions, idempotent patching patterns, and comprehensive test coverage. It demonstrates professional PHP engineering using Symfony Console components and modern PHP features.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
stof/StofDoctrineExtensionsBundle ★ 1927 382 APPLICATION

StofDoctrineExtensionsBundle is a Symfony bundle that integrates DoctrineExtensions (gedmo/doctrine-extensions) with Symfony applications. It provides dependency injection configuration, event listeners, and tools for using Doctrine behavioral extensions like Tree, Translatable, Sluggable, Timestampable, Blameable, Loggable, Sortable, Softdeleteable, Uploadable, and Reference Integrity. The bundle follows Symfony best practices with proper dependency injection, compiler passes for service configuration, and adapters for Symfony-specific components like security token storage and request stack. It handles the complex integration between Symfony's service container and Doctrine's event system, allowing developers to easily configure and use Doctrine extensions in their Symfony projects.

RATING: 8.4/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
nelmio/NelmioCorsBundle ★ 1924 103 APPLICATION

This is a Symfony bundle that adds Cross-Origin Resource Sharing (CORS) headers to HTTP responses and handles CORS preflight OPTIONS requests. It intercepts kernel request and response events, applies configurable per-URL rules (origin matching, allowed methods/headers, credentials, private network access, forced origin values, etc.), and automatically adds a `Vary: Origin` header to cacheable responses. The bundle is well-structured with a clean provider/resolver pattern for configuration, supports Symfony 5.4 through 8.0 and PHP 7.2+, and includes full CI and static analysis. It is a mature, actively maintained library that solves a specific HTTP security concern in a robust and extensible manner.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: