Weave Code
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

Laravel Morphmap Laravel Package

moneo/laravel-morphmap

View on GitHub
Deep Wiki
Context7
2.0.0

Added

  • Laravel 12 support
  • morphedByMany override for inverse polymorphic many-to-many relationships
  • initializeHasCustomMorphMap() method following Laravel's trait initialization convention
  • PHPStan static analysis at max level
  • Laravel Pint code style enforcement
  • Comprehensive test suite with database integration tests
  • CI matrix testing across PHP 8.1-8.4 and Laravel 10-12
  • .editorconfig for consistent formatting
  • CONTRIBUTING.md with contribution guidelines

Changed

  • Breaking: Minimum PHP version is now 8.1 (was 8.0)
  • Breaking: Minimum Laravel version is now 10.0 (was 8.12)
  • Renamed internal customMorphMap() method to resolveCustomMorphType() to avoid name collision with property
  • Default morph type now uses static::class instead of __CLASS__ for better inheritance support
  • Replaced func_get_args() usage with explicit parameter forwarding
  • Updated phpunit.xml to phpunit.xml.dist with modern PHPUnit 10/11 configuration

Fixed

  • Test models had incorrect customMorphMap key format (keys should be class FQCNs, values should be aliases)

Removed

  • Dropped support for PHP 8.0
  • Dropped support for Laravel 8.x and 9.x
  • Removed hardcoded version field from composer.json
1.0.4
  • Fix README after ownership change.
1.0.3
  • Change ownership from mcucen to moneo.
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle