HDTuto.com

Laravel


Fixed - "continue" targeting switch is equivalent to "break". Did you mean to use " continue 2"?

we will resolve ErrorException error "continue" targeting switch is equivalent to "break" in php laravel on my ubuntu. we can reinstall composer to fixed continue targeting switch is equivalent to break issue. When i was working on my ubuntu 14 and i update into ubuntu 16 at that time my php is also updated and it becomes 7.3. so when i install my laravel project and doing composer install i got .....

Posted On July 14, 2019

Laravel Vue JS Datatables Tutorial

We will learn how to use datatables with laravel and vue js. we will use datatables in vue laravel app. we will use vuejs-datatable npm package for vue datatables in laravel app. we can easily implement laravel datatables with vue js. Datatable is more popular library in javascript. datatable provide search, sorting, pagination etc with user friendly layout. so you also want to implement datatabl.....

Posted On June 24, 2019

Laravel 5.8 - create custom error page with example

In this example, i will let you know how to create custom error pages with laravel 5.8. we will create custom error pages for 404, 403, 500, 419, 255, 405 etc pages in laravel 5 application. we can easily create custom blade file with our theme for all errors in laravel 5. If you set debug false then laravel show you default error page of their predefine. but if you want to create your own custom.....

Posted On May 12, 2019

Laravel detect mobile or desktop using jenssegers/agent example

In this artical, i will let you know how to detect mobile or desktop browser in laravel 5 application. we will use jenssegers/agent package for detect device. we can easily detect device mobile or tablet or desktop. jessenger ajent plugin provide method to get all user agent values with their pre define function by package. they provide function like isMobile(), isTablet(), isDesktop() and device.....

Posted On May 12, 2019

Yajra Datatables Laravel 5.8 Example

we will learn how to install yajra datatables in laravel 5.8 application. datatables is a javascript library and that provide search, pagination, ordering, sorting and etc. we will use yajra composer package for datatables in laravel 5.8 project. yajra provide method to send data and filter using ajax. so let's follow this article and learn how to install yajra datatables. You have to just follo.....

Posted On April 6, 2019

Ajax Pagination in Laravel 5.8

In this article, you will learn how to create ajax pagination with laravel 5.8 project. i will describe step by step tutorial of laravel 5.8 ajax pagination. as we know jquery is more use in live project. so better is if you use ajax with your project then it will run smooth. just see this post and do it js ajax pagination in laravel 5.8 project. In this example, we simply create "items" table .....

Posted On April 5, 2019

Laravel 5.8 Get Logged in User Details

Today's leading topic is laravel 5.8 get current user details using auth. i will show you how to get current logged in user id, name, email, created_at, role etc using auth() helper or Auth facade class. we can easily get auth user data using auth helper in laravel 5.8 application. we almost need to get current logged in user data because we need to some restrict to pages or get only login user .....

Posted On April 2, 2019

Ajax crud operations in Laravel 5.8 with Modal & Pagination

Today, i will show you how to create ajax crud module with bootstrap modal & pagination in laravel 5.8. we can build ajax create read update and delete records in laravel 5.8. we will use yajra datatable to list a data on index page with sorting, pagination and searching. I will create product module with jquery ajax crud operation in laravel 5.8. you can follow this tutorial and easily make ajax.....

Posted On March 30, 2019

Laravel 5.8 specified key was too long error - Solved

Just tomorrow i was installing laravel 5.8 and run migration at that time i got specified key was too long error in migration. you can see it was same error bellow message: "SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))" Than i checked with user table migration but over.....

Posted On March 26, 2019

Image Upload Tutorial with Laravel 5.8

In this tutorial, Laravel 5.8 image upload with validation is a topic. we will learn how to upload and display image in laravel 5.8. i will show you step by step to create image upload example with laravel 5.8. we can simply add image upload validation like image, mimes, max file upload etc, So you can easily understand and you it simply. In this example, we will create two routes one for get me.....

Posted On March 19, 2019

Blog Search