
Realtime App Using Laravel + NodeJs + AngularJS + Redis
Realtime App Using Laravel + NodeJs + AngularJS + Redis This is insane how we can combine Laravel,NodeJS,AngularJS and Redis to create an amazing product . For…

Laravel Admin Panel - Part 1 - CRUD Management
Laravel Admin Panel - Part 1 - CRUD Management Laravel Admin Panel Every laravel project maybe large scale or small scale needs a dedicated laravel admin which…

Query Scopes
Query Scopes Query scopes are amazing it lets you encapsulate your logic inside models without being repetitive . You can attach a subquery to your existing query.…

Redirect to URL
Redirect to URL We can redirect to path using Redirect::to("path") and to route using Redirect::route("route") . What if you want to redirect to external url…

Deploying Laravel on DigitalOcean using Github and dploy.io
Deploying Laravel on DigitalOcean using Github and dploy.io Prerequisites Create Github Account . Create dploy.io Account. Download and Setup Github. …

Find Nth Image in HTML
Find Nth Image in HTML Using below function you can find Nth Image in your HTML Code function getImageInHTML($post, $default, $i = 0) { preg_match_all('/<img.+src=(+).*>/i',…

Format Validation Messages
Format Validation Messages Pass in your validation object to get formatted error message public function messages($v) { return implode('',$v->messages()->all(':message'));…

Use DB Class more than your Models
Use DB Class more than your Models You may be thinking wow its so easy so i call Posts::find(1); If you dont need to dont use it . Below are some situations when…

Next and Prev Post Links
Next and Prev Post Links Find next and previous posts using current displayed post_id $next = DB::table("posts")->where("id", ">", $post_id)->first(); $prev…

Split your routes into separate files
Split your routes into separate files All routes in one file will be a cumbersome so its a good practise to divide admin,members,testing routes into separate…

Updated_at and created_at are empty or zeros
Updated_at and created_at are empty or zeros If you use DB class and thinking that it will fill updated_at and created_at then you are wrong it wont . It will…

SECURE LOGIN SYSTEM – PHP(LARAVEL) – 4
SECURE LOGIN SYSTEM – PHP(LARAVEL) – 4 So we are back now. As promised in Secure Login System – PHP(Laravel) -3 we will start with forgot password. Before…

FACEBOOK LIKE SYSTEM
FACEBOOK LIKE SYSTEM In this post we will learn how to create a facebook like system for users . We will assume users are liking a post and we will have a…

SENDING SMS USING TWILIO
SENDING SMS USING TWILIO Ever wondered how to send SMS message through Laravel App, here I am for your rescue. Today we will use Twilio a Cloud-Based Communication…

GETTING STARTED WITH ANGULARJS WITH LARAVEL
GETTING STARTED WITH ANGULARJS WITH LARAVEL Laravel is a PHP Framework with a lot of awesome features packed into it. You will never switch to any other framework…

DEPLOYING LARAVEL ON PAGODABOX
DEPLOYING LARAVEL ON PAGODABOX WHAT IS PAGODA BOX ? I personally find it easier than using Amazon Web Services. Pagoda Box is a platform. You can think of…