Skip to content

[5.3] Add base64 Attribute Casting#16450

Closed
faustbrian wants to merge 1 commit intolaravel:5.3from
faustbrian:5.3
Closed

[5.3] Add base64 Attribute Casting#16450
faustbrian wants to merge 1 commit intolaravel:5.3from
faustbrian:5.3

Conversation

@faustbrian
Copy link
Copy Markdown
Contributor

Makes it possible to store and retrieve base64 strings.

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

@JosephSilber
Copy link
Copy Markdown
Contributor

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

@taylorotwell
Copy link
Copy Markdown
Member

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

@tillkruss
Copy link
Copy Markdown
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