Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Code Search with Laravel and Sourcegraph

Code Search with Laravel and Sourcegraph

Learn to navigate and get onboarded to Laravel codebases faster with Sourcegraph. Find code easily with the click of a button!

UnStack Africa, November, 2021

Otemuyiwa Prosper

November 08, 2021
Tweet

More Decks by Otemuyiwa Prosper

Other Decks in Programming

Transcript

  1. Question for you! • How do you currently search for

    open source code? • How do you search for private code? • How do you get code intelligence outside of your local editor?
  2. Laravel - An artisan’s framework • A Full Stack PHP

    Framework • An API Backend • A Vibrant and powerful community • Plethora of developer tools e.g Nova, Cashier, Forge, Envoyer, Valet, Telescope, Scout, Telescope, Sanctum, etc • Educational Platforms e.g Laracasts.com, dailylaravel.com, laravel.io etc
  3. What’s your Sourcegraph Temperature? • I’ve never heard of it.

    • I’ve heard of it but don’t understand it. • I understand it, but I don’t see how it’s useful. • I see how it could be fun for senior developers, but not for me. • It’s becoming more useful for me. • I use it all the time. • I could not imagine life without it. • Seriously, people are living without it? How?
  4. What is Sourcegraph’s Value To You? • Search over 2.1M

    open source & public repositories across GitHub & Gitlab. • Search private code across several repositories • Precise code intelligence • Automation of large scale code changes via Batch changes. • Code monitoring • Code insights (still in beta)
  5. Recap: Why you need Sourcegraph? • Developer velocity - Help

    all your developers to move fast. With code intelligence & great search, code discovery is a walk in the park. You don’t need to keep cloning repos to effectively search through them! • Onboarding new developers to a codebase - The faster developers can understand your massive codebase, the better. • Codebase refactors (batch changes) - as codebase grows, you need to refactor the codebase more intelligently.