Laravel


Laravel 5.5 - POST <target url> 419 (unknown status) - can't ajax post data

When i was working on my new laravel 5.5 application and i was making insert update delete using ajax and when i run post ajax request then i got ajax post request 419 unknown status error, you can also see bellow as it was. <pre> POST http://localhost:8000/addmore 419 (unknown status) send @ jquery.min.js:4 ajax @ jquery.min.js:4 (anonymous) @ addmore:55 dispatch @ jquery.min.js:3 r.handle @ jque.....

Posted On November 1, 2017

Flash message in Laravel 5.5 example

Hi, Guys In this tutorial i will let you know how to implement flash message in laravel 5.5 application. We can simply add info, success, error, warning and primary type of flash messages. Here in this tutorial i will use "mercuryseries/flashy" composer package, help of this package i will make simple example. As we know well, flash message is very important to notify when record is created new, .....

Posted On October 29, 2017

Laravel 5.5 - create custom 404 error page

In this article, i will let you know how to create custom error page in laravel 5.5 application. If you know well laravel then you know we can simply create error pages in errors directory of views folder, but in this article i will show you to create custom 404 error page using route and right way of SEO friendly. Here, i will explain how to handle laravel exception and manage all custom errors .....

Posted On September 27, 2017

Laravel 5.5 Generate PDF File From View

In this article, i will let you explain how to generate pdf file from html view in laravel 5.5 application. We mostly require to generate PDF file from html view for invoice, receipt, products etc. There are several composer packages available for pdf generate in laravel 5.5 application, However we can use "laravel-dompdf" library. laravel-dompdf provide to generate very easily using laravel bal.....

Posted On September 20, 2017

Laravel 5.5 - The page has expired due to inactivity - fixed

Yesterday, i was working on new laravel 5.5 blog and i was making quick contact us form and i didn't use Form facade for that. i just simply use html input form element. But when i create post route and then submit my form i got following error: <br/> <center> <strong> The page has expired due to inactivity. Please refresh and try again. </strong> </center> <br/> I was thing i haven't seen this e.....

Posted On September 16, 2017

laravel no application encryption key has been specified - fixed

Are you fetching same issue as live bellow that i fetched : " RuntimeException No application encryption key has been specified." , Few days ago i just download laravel 5.5 and then i copy and give my friend but when he run project he got following error as i gave you previously. So i was thinking how will issue, finally i found i lose .env file i can't see i don't know why. So i simply copy <st.....

Posted On September 14, 2017

Laravel 5.5 multiple database connection example

Hi Guys. In this article i will let you know how to use multiple database in laravel 5.5 application. Laravel 5.5 provide several database connection like mysql, sqlite, pgsql, sqlsrv, mongodb etc. So it could always be simple to use following databases connection. But if you require two database connection in same laravel application then what you will do and how you can. So laravel 5.5 provide .....

Posted On September 14, 2017

Laravel 5.5 Image Upload example

Currently i am working on laravel 5.5 application and i require to image upload function in my laravel 5.5 application. Then i decide to share image uploading laravel 5.5 with developer so it can be help to someone. File upload feature almost require to every application as i know. So here i will make it very easy example of image upload. In this article i will create two routes one for get metho.....

Posted On September 10, 2017

Laravel 5.5 get last query log example

If you need to debug your last mysql query in laravel 5.5 then you can do it simply by following example. We know laravel provide their own query builder So sometime we write big query or something big logic on laravel query builder. But it's give us error and you didn't get it properly then you need to run manually sql query to your phpmyadmin. So here i will give you many example to get your la.....

Posted On September 8, 2017

Class Form not found in Laravel 5.5

Two day ago i installed new version on laravel 5.5 and trying to coding. i was making form using form builder as i have haibbit to work on laravel 5.4 version. But i used Form class of laravelcollective i got following error on when i run project "class 'form' not found" but i had before this error. So i found how to solve it. So you have to install laravelcollective/html composer package for for.....

Posted On September 5, 2017