Level 70
@ajvanho Have you tried replace()?
Check here: https://laravel.com/docs/8.x/helpers#method-fluent-str-replace
I have an array
36 => array:3 [
"key" => "7beqbabdHqdd3NMZ"
"attributes" => array:2 [
"url" => "GitHub"
"name" => "https://github.com/foo"
]
]
How to use replace collection to be:
"url" => "https://github.com/foo",
"name" => "GitHub"
Please or to participate in this conversation.