laravel 3 demo scripts & functions