Shortcut to Open Laravel Docs from Your Editor

Published January 18th, 2017
2 minute read
Warning!
This was written over two years ago, so some information might be outdated. Frameworks and best practices change. The web moves fast! You may need to adjust a few things if you follow this article word for word.

Update: Since I've now switched to VS Code, there's a version for that too.
Wouldn't it be great if we could quickly access the exact Laravel documentation page you need right from your code editor? Now you can!

Often while developing I need to double check something from the documentation. Here's how I used to do it (the old, slow way)

  • Open a browser
  • Type laravel.com/docs
  • Scroll around / scan the page trying to find what I wanted
  • Finally find the section that I need and click that

Now there's a better way! The Laravel Docs extension.
Simply install it via package control and you'll find many new entries in your command palette (Ctrl/Cmd + Shift + P) for "Laravel Docs". Simply select the entry you'd like and hit enter. You'll then see the appropriate docs page open in your default browser.

Although doing this manually isn't really that bad, I often find myself distracted by other websites or social media before finally going to the docs page I was seeking (ten minutes later). Overall I felt that there was room for some automation in this process, so I made a new package to do so. Hope you find it useful! I'm also working on versions for VSCode and Atom which are coming soon.

Enjoy this article? Follow me on Twitter for more tips, articles and links.
😢 Awww, nobody has liked or mentioned this on Twitter yet.

Want Updates?

Sign up here if you want to stay in the loop about new articles or products I'm making.
I'll never spam you. Unsubscribe at any time.
Copyright ©2024 Austen Cameron