Skip to content

[5.3] Add base64 Attribute Casting #16450

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

Closed
wants to merge 1 commit into from
Closed

[5.3] Add base64 Attribute Casting #16450

wants to merge 1 commit into from

Conversation

faustbrian
Copy link
Contributor

Makes it possible to store and retrieve base64 strings.

protected $casts = ['image' => 'base64'];

@JosephSilber
Copy link
Contributor

These PRs going to continue forever, until we allow user-provided casting 😑

@taylorotwell
Copy link
Member

Yeah I don't think I want to keep going down this rabbit hole.

@tillkruss
Copy link
Contributor

@JosephSilber Is that planned or is anyone working on that for 5.4?

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

Successfully merging this pull request may close these issues.

4 participants