Announcing release of Laravel-tricks.com Source!

Today my friend Stidges and I are making a small contribution to open source community.

We are releasing the source code of a website that the two of us created together called Laravel Tricks. The purpose of the website is to give the Laravel community ability to create small code snippets that could be helpful to other developers. This website has been live for a few months now and have been visited by more than 10,000 people with over 80 tips & tricks created by users since its launch.

The source is available at our new Github organization: https://github.com/CodepadME/laravel-tricks

If you haven’t seen it, the site looks like this:
Laravel tricks website

The website is responsive, looks great on all devices thanks to customized Bootstrap framework and uses some third party packages not only to look good but also function well. It is packed with cool features.

Features of Laravel-tricks:

  • Multi User platform that enables registered users to post short excerpts of code and descriptions to go along with the code.
  • Syntax highlighting using Highlight.js
  • Code editing with ACE editor
  • Sorting and search.
  • Categories and tags for each user submitted entry using Selectize.js.
  • OAuth 2 Github Registration and Login using OAuth 2 client from PHP League.
  • Disqus integration for commenting.
  • Customized Bootstrap theme.
  • AJAX favoriting.
  • Gravatar integration.
  • Using jQuery FileAPI for avatar uploads and cropping.
  • Using Intervention Image to handle the server side of the avatar uploads.
  • Admin panel for editing/creating tags and categories
  • Pinterest-inspired grid implemented with Masonry.
  • Presenter classes implemented with the Laravel Auto Presenter package.

Knowing how these features are implemented in Laravel could be helpful to a lot of developers starting out with Laravel PHP framework.

Why releasing the source?

Stidges and I felt strongly about this from day 1. We believe that good quality code that solves real problems should be made public for others to learn from. The features that this application implements (like avatar cropping and upload, tagging, categorizing, customized Bootstrap CSS, etc) could serve as a useful base for other developers that are seeking high quality solutions to these common problems.

What can you do with it?

You could learn from the source or you could reuse the code we created to power a similar website entirely. The very permissive MIT license allows you to do whatever the heck you want, and in fact it would be flattering if we saw websites like these pop up:

  • Angular-tricks
  • Backbone-tricks
  • Bootstrap-tricks
  • Ember-tricks
  • HTML-tricks
  • Anything-tricks

Please feel free to use our work to power your websites, we don’t require any credit but credit (or Gittip) would be appreciated.

Again, the source is available at our new Github organization: https://github.com/CodepadME/laravel-tricks
Please star the repo as a token of appreciation.

Enjoy!

You may also like

More in Blog, Code Blog
Top 5 trends of Laravel’s rise in 2014

As I was faced with choosing the best PHP framework for a project in the spring 2012 I found Laravel framework...

Close