S
S
symnoob2020-04-17 10:02:45
symfony
symnoob, 2020-04-17 10:02:45

Symfony - how can you display the differences of two strings?

Hello everyone,

is it possible to display the difference between two strings?

some kind of bundle or is there a function, a filter for Twig?

you want to display a diff string, like in Bitbucket...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Derepko, 2020-04-17
@symnoob

I think it will not be difficult to write a render for twig: https://github.com/sebastianbergmann/diff

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question