HDTuto.com

Latest Articles


Angular JS Form Validation Example Code

this tutorial, i would like to show you how to set simple angularjs from validation example with source code. you can simple use form validation rules like email, required, url, ng-minlength, ng-maxlength, ng-pattern etc and input state like $untouched, $touched, $pristine, $dirty, $invalid, $valid etc. As we know validation is very important part of any application. here i will show you validati.....

Posted On January 13, 2018

How to create events for created/updated/deleted model task in Laravel 5?

Here, i want to know you how to create Eloquent models events for creating, updating, deleting, retrieved, created, updated, saving, saved, deleted, restoring, restored in PHP Laravel 5. here i will show you simple and quick example for event fire on eloquent model method. Using this tutorial you will learn to create laravel event listener, also can set queue. Laravel introduce very unique and fa.....

Posted On January 10, 2018

PHP Laravel Ajax Form Submit Example

In this article, you will lern how to ajax form submit in Laravel 5 application. You can easily fire jquery ajax form submission on click event of button. So let's follow bellow tutorial for ajax form submit laravel. Here i will write very simple post ajax request example with pass csrf token in laravel 5.5 application. After end of the article you can assume, how simple run example request like .....

Posted On January 5, 2018

PHP Laravel select with join subquery example

Hi PHP Laravel Developer, Today, i will let you know how to use select with join subquery using Laravel eloquent. You will learn inner join or left join with select query in Laravel eloquent. Let's see example for laravel 5, laravel 5.1, laravel 5.2, laravel 5.3, laravel 5.4, laravel 5.5 eloquent select join query example. Here we will use DB::raw() with join() function of laravel 5 eloquent. In.....

Posted On January 4, 2018

Laravel select with count(*) using db raw example

Hi Guys, In this small article. i will let you know how to use select with count aggregate and group by using db raw in Laravel application. Here i gave you simple query example for join with count(*) as aggregate in select statement, i convert it into laravel db query builder. If you want to use count aggregate function in select statement then you require to use db::raw in eloquent select func.....

Posted On January 2, 2018