Back to the Learning

Beep Beep. Subscription Required.

Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

In this second part, we'll first implement the necessary functionality to allow users to "fork" existing snippets. Then, we'll apply syntax highlighting (using highlight.js), and wrap up our project. View the source for this two-part lesson on GitHub.

Homework: Clone this project, and begin extending it with your own features. Here are some ideas to get you started:

  1. Add user registration, and associate each snippet with an owning user.
  2. Allow users to view only their snippets.
  3. Add a "like" button to each snippet, and list users in sidebar by those who have the most snippet likes.
  4. Add a "language" column to allow for better sorting.

Published on Dec 29th, 2016.

Back to Series Button