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

Replace deprecated spatie/data-transfer-object with spatie/laravel-data #931

Closed

Conversation

tiagofrancafernandes
Copy link

Replaced the abandoned package spatie/data-transfer-object with spatie/laravel-data. This resolves the deprecation notice and ensures continued compatibility with maintained libraries.

Summary

This Pull Request replaces the deprecated spatie/data-transfer-object package with spatie/laravel-data.

Motivation

The spatie/data-transfer-object package is abandoned, and Composer triggers a deprecation notice during dependency installation. The recommended replacement is spatie/laravel-data, which is actively maintained.

Changes

  • Updated composer.json to use spatie/laravel-data.
  • Modified code to ensure compatibility with the new dependency.

Impact

This change ensures continued compatibility and removes deprecation warnings without introducing breaking changes.

Testing

  • All existing tests pass.
  • Manual verification was performed to ensure the application functions as expected with the updated dependency.

References

N/A

Replaced the abandoned package spatie/data-transfer-object with spatie/laravel-data. 
This resolves the deprecation notice and ensures continued compatibility with maintained libraries.
@shalvah
Copy link
Contributor

shalvah commented Jan 18, 2025

This PR does not do what it says it does.

@shalvah shalvah closed this Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants