All posts by Junaidi A

Installing Laravel Debugbar For Easy Debugging Laravel 5

The Laravel Debugbar by Barry vd. Heuvel is a package that allows you to quickly and easily keep tabs on your application during development. With a simple installation and powerful features, theDebugbar package is one of the cornerstone packages for Laravel.


In your Laravel 5 project require the package:

composer require barryvdh/laravel-debugbar

Next open config/app.php and inside the ‘providers’ array add:


If you want to use the facade to log messages, add this to your facades in app.php:

‘Debugbar’ => Barryvdh\Debugbar\Facade::class,

Now as long as your app is in debug mode the bar will already be loading showing some nice stats about the page you are viewing.

WordPress: Change Contus Video Gallery Player To Recent Video

Contus Video Gallery is a super-awesome video gallery plugin for wordpress. Read more here.

By default, Contus video gallery will show recent featured video in homepage video player. Instead of recent featured video, we will change it to the most recent video from all categories. (The most recent upload video)

To show the latest video in the home page player, go to file path ../wp-content/plugins/contus-video-gallery/front/models/videohome.php

In this file finds the function get_featuredvideodata() and find the below query

and replace with the below query

documenting to blog post from original source

OSX Yosemite: Apache Server Won’t Start In MAMP

I updated my OSX to the latest version, OSX Yosemite Beta 2 early today. Then I encountered an error on my MAMP. Apache Server Won’t Start.

After lot of google-ing, this is how i solve this problem.

You apparently have to go to your MAMP folder in Applications. Go to bin -> apache2 -> bin:

Then change envvars to _envvars.

Finally, open MAMP client and try to start Apache server and Mysql server again. Both of the services should able to start now. Continue reading OSX Yosemite: Apache Server Won’t Start In MAMP