I'd like to remove some deprecated code from CiviCRM core, but I'm not sure if it might be used by other extensions in the CiviCRM universe. Is there a way to search the code of all known extensions?

  • @LukeStewart that's exactly what I needed. Feel free to add an answer and I'll upvote/accept.
    – Coleman
    Jun 27, 2019 at 22:18

1 Answer 1


You can use build kit to generate a repo including the civi "universe" https://docs.civicrm.org/dev/en/latest/tools/universe/

civibuild create universe


mkdir ~/src/universe
fetch-universe ~/src/universe

could be worth checking extension usage to see if there are any widely used ones that don't make the cut to get included.

Happy grepping!

  • ripgrep is amazing for this sort of thing. Universe is around 5GB today, and I was able to grep for a regex match in php files in under 1s. It's in Debian and Fedora as package ripgrep or use the releases: github.com/BurntSushi/ripgrep/releases Jan 29 at 11:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.