Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompositeKey not included when installed. #225

Closed
webdevomandam opened this issue Jan 26, 2024 · 3 comments
Closed

CompositeKey not included when installed. #225

webdevomandam opened this issue Jan 26, 2024 · 3 comments

Comments

@webdevomandam
Copy link

Failed to read the CompositeKey when using the use Staudenmeir\EloquentHasManyDeep\Eloquent\CompositeKey;.
Also tried to check the vendor\staudemeir\eloquent-has-many-deep\src and no eloquent* files were found.

Installed the package with this command composer require staudenmeir/eloquent-has-many-deep:"^1.7" and currently using laravel 6.

@staudenmeir
Copy link
Owner

Hi @webdevomandam,
Composite keys are only supported with Laravel 9+. I'll add that to the README.

@webdevomandam
Copy link
Author

Ah I see. Thanks for the clarification. So, what can be the alternative for CompositeKey? Will array() be okay?

@staudenmeir
Copy link
Owner

There is no alternative, you can only use this feature after upgrading to Laravel 9+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants