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.
aashan/pimcore-mcp-bundle
solution-forest/ai-kit-core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin