HDTuto.com

Latest Articles


Laravel 5.6 - Generate Free Charts and Graphs Example

Here, i will let you know how to generate charts in laravel 5.6 application using consoletvs charts package. i will create line chart, geo chart, bar chart, pie chart, donut chart, line chart and area chart example in laravel. you can also create gauge chart, progressbar chart, areaspline chart, scatter chart, percentage chart etc using consoletvs charts composer package. In this tutorial i jus.....

Posted On March 19, 2018

Laravel cors middleware using barryvdh/laravel-cors example

If you want to add cors middleware in your laravel application then you are a right place. here i will quick guide to add cors middleware using barryvdh/laravel-cors composer package in laravel 5.6 application. cors is important to prevent other domain browsing request. In this example we will use barryvdh/laravel-cors composer package and you will have cors middleware for your every api route .....

Posted On March 15, 2018

Laravel - How to handle "No query results for model" Error

Laravel - How to handle "No query results for model" Error Yesterday, I was just working on my restful API with User model and I found following error on show method: "No query results for the model [App\\User] 1", first I search on google about No query results for a model issue and fix that. but I want to understand why this error comes. i found why No query results for the model is an error on.....

Posted On March 14, 2018

Laravel 5.6 - Get last inserted id using save(), create() and insertGetId()

If you have experience with PHP Project developing then you know we almost require to get last id. so if you need to get last insert id then you can get save(), create() and insertGetId() method in laravel 5.6 application. here i will give you three way to get last inserted id or object in laravel 5.6 application. So in this small article i will give you three example for getting last insert id:.....

Posted On March 13, 2018

VueJS - How to set maxlength for textarea?

Hi Dev, here I will let you know how you can ser countdown with remaining character count in textarea with VueJS application. you can simply set maxlength validation in textarea in VueJS. i gave you a full and simple example for maxlength validation example. So If you want to check with your local then you can copy bellow html file and test it with your local system. i used CDM js and css file s.....

Posted On March 12, 2018