Laravel 4 Uses Lots of Static, Not True.

Most of the time developers blame Laravel for using too much static. This claim is not true in case of Laravel 4, lets dig in and discuss why and how. What is static? In PHP you call it like this Class::$property. As the name suggests, it preserves the state. Static variables preserve their values across the lifetime of the running application(in our case request). In a class if a static property is declared it becomes the property of the CLASS itself, NOT the property of...

Filter Eloquent Results by Overriding in Laravel (v 3 & 4)

What is Eloquent? Eloquent has been a really popular ORM in the PHP community lately, it was initially built for Laravel framework only. But since Laravel 4 all the components including Eloquent are built as Packages which may depend on other packages. These packages can be installed through Composer and can be browsed on Packagist. So what's cool? Think of people out there who either don't use Laravel or don't use any framework at all. They might roll their own code or just whack a...

XSS Filter in Laravel Framework

If you are connected with the PHP development world then you must have heard the name Laravel and you know what it is. If you don't know, Laravel is a modern PHP framework which utilizes modern PHP features and uses some of the existing frameworks' components to truly awesomify PHP development. Back in 2012 I gave Laravel a try out of curiosity and I was amazed by the flexibility, features and easiness it offers. I took another decison to learn it and then to use...

Tongue – jQuery Plugin to Create Animated Dropdown Content

Tongue is a very simple jQuery plugin which allows you to add animated dropdown child element to any elements without using any CSS styles for that. View Live Demo Fork on GitHub  Download

Charisma – free, responsive, multiple skin admin template

Charisma is a fully featured, free, premium quality, responsive, HTML5 admin template (or backend template) based on Bootstrap from Twitter, it comes with 9 different themes to suit your style and application type. I have created Charisma to ease the repeat work I have to do on my projects. Now I re-use Charisma as a base or a package for my admin panel or backend work and I am sharing it with you :) . Its free for personal and commercial use and you can use...

Muhammad Usman Muhammad Usman, from Sylhet, Bangladesh physically and in all over the web virtually, love creating complex web applications with rich UI. PHP (with CodeIgniter or Laravel) and JavaScript (with jQuery) are my passion. more