Category : Laravel



Laravel 5 - Simple CRUD Application Using ReactJS - Part 1

In this post, i want to share with you how to create crud(Create Read Update Delete) application with react js in PHP Laravel framework. In this example you can learn how to built setup for laravel reactjs application, I also used axios post request, get request, put request and delete request for insert update delete application. we always would like to prefer make setup for any javascript framework like vuejs, angularjs, reactjs etc. here i share with you basic setup for react and laravel with crud application. You have to just follow following 9 step as listed bellow: <strong>1) Step 1 : I.....

By Hardik Savani | December 10, 2017 | | 9177 Viewer | Category : Laravel
READ MORE

Laravel 5 - Simple CRUD Application Using ReactJS - Part 2

In the second link, we will follow rest of two step for react js crud tutorial application example. So let's start to follow 2 step in this tutorial page for laravel react native and here we will generate components file for react server side rendering. <strong class="step">Step 6 : Install Configuration For ReactJS</strong> First things is we need to configure our react app, So we need to run following bellow path for React Preset. <pre class="prettyprint lang-php"> php artisan preset react </pre> Next we need to run following command for install node js so let's run bellow command: <pre cl.....

By Hardik Savani | December 10, 2017 | | 3212 Viewer | Category : Laravel
READ MORE

Laravel 5 - Simple CRUD Application Using ReactJS - Part 3

In last part, we will create view blade file and run our react js crud application, we used axios for run apis. So let's follow rest of two step. <strong class="step">Step 8 : Create Main Blade File</strong> in this step. In this step we have to create just one main blade. So mainly we have to create layout file. So finally you have to create following bellow blade file: <strong>resources/views/welcome.blade.php</strong> <pre class="prettyprint lang-html"> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" co.....

By Hardik Savani | December 10, 2017 | | 2058 Viewer | Category : Laravel
READ MORE

How to create REST API in Laravel 5 ?

In this tutorial, i would like to share with you how to build restful api in laravel 5.5 application. Here i will share with you create basic and simple resource api route with json response. you can simply use with your big project, you can make basic setup for you application. Before start i would like to recommend following link for authentication api : <a href="https://itsolutionstuff.com/post/laravel-5-how-to-create-api-authentication-using-passport-example.html" target="_blank">Laravel 5 - How to create API Authentication using Passport ?</a>. Here i explained how to create api authenti.....

By Hardik Savani | November 24, 2017 | | 4742 Viewer | Category : Laravel
READ MORE

How to optimize website speed and performance in Laravel 5.5 ?

It is very important for every website to quick load that means your website should load in few seconds like 4 or 5. We are always fetching issues about page speed like how to increase website speed in laravel, how to reduce loading time of website in laravel, is it possible speed up php execution time of my website, how to optimize php laravel script to increase speed, how to speed up web browsing in laravel. So basically you have several question regarding to improve your website performance in laravel. However, There are several composer packages available for increase website page speed i.....

By Hardik Savani | November 12, 2017 | | 11037 Viewer | Category : Laravel
READ MORE

Laravel - Dynamically Add or Remove input fields using JQuery

Today, i am going to share with you how to add more fields using jquery in laravel 5.5 application, i also implemented Dynamically Generated Fields validation, so if you have add dynamically more then one fields with laravel validation then you are at right place. We may sometime require to generate dynamic add more fields using jquery in your php laravel application. List if you have to add more then one stock with date wise and need to add in single form. So basically you require to add more function that way client can add and remove dynamically their stock with date. So here i make very s.....

By Hardik Savani | October 28, 2017 | | 23792 Viewer | Category : Laravel
READ MORE

Laravel 5.5 Simple CMS Website example using asgardcms

Today i am going to share with you how to use cms in laravel 5.5 application. As we know wordpress is best cms in the world and almost people like to use cms for his company website or blog. But if we think about codding style, security or structure then laravel framework is a best. So There are several provide laravel cms to make quick back end admin panel and also work like wordpress blog. So, in this post i would like to introduce same simple cms using laravel, that know as "asgard cms". asgard cms provide very simple modules function and you can simply quick create modules like on wordpre.....

By Hardik Savani | October 15, 2017 | | 8375 Viewer | Category : Laravel
READ MORE

Full Text Search in Laravel 5 Example

Are you want to make full text search in your laravel 5.5 application ?, If Yes then you are a right place. In this post i am going to share with you how to create full text search using "nicolaslopezj/searchable" composer package in laravel 5. In real field we almost require to create full text search like if you have users table and there are several columns like id, first name, last name, email, address, city etc. So if you search just "a" then if should filter with all the columns. So it's like just run simple query with search, it should work like datatables search. So don't worry about .....

By Hardik Savani | October 4, 2017 | | 11176 Viewer | Category : Laravel
READ MORE

How to generate UUID in Laravel 5 ?

Today i am going to share with you how to create uuid in laravel 5 application. You can create quick uuid using generator. I will use composer package for generate unique uuid. UUID stand for universally unique identifier and is a 128-bit number used to identify information in computer pc. In this post i will show you how to generate uuid in laravel 5 application. In this post we will use webpatser/laravel-uuid composer package for generate uuid in laravel 5. We have to simple install webpatser/laravel-uuid package to your laravel application and then a second you can generate uuid. So, you.....

By Hardik Savani | September 28, 2017 | | 4834 Viewer | Category : Laravel
READ MORE

Laravel 5.5 group by doesn't work - fixed

Someday ago i just installed laravel 5.5 application and i was checking new feature and making some examples. But i was working on database query builder example one by one, i got following error when i used group by on single column. My query was like as bellow example, so you can see on database query i simple get all users and group by with name. So, let's simply see how it is: <strong>DB Query:</strong> <pre> $users = DB::table("users") ->groupBy("name") ->get(); dd($users); </pre> But when i run above query using database query builder i got following error, as.....

By Hardik Savani | September 22, 2017 | | 2318 Viewer | Category : Laravel
READ MORE

    Laravel 5 dynamic autocomplete search using select2 JS Ajax - Part 2

    Laravel 5 dynamic autocomplete search using select2 JS Ajax - Part 2

    Open Post

    PHP Image upload without refreshing page using jquery example

    PHP Image upload without refreshing page using jquery example

    Open Post

    PHP - How to create zip file and download using ZipArchive ?

    PHP - How to create zip file and download using ZipArchive ?

    Open Post

    How to get last inserted id in Codeigniter?

    How to get last inserted id in Codeigniter?

    Open Post

    Laravel 5.3 Image Upload with Validation example

    Laravel 5.3 Image Upload with Validation example

    Open Post

    Codeigniter JQuery Ajax image upload example from scratch

    Codeigniter JQuery Ajax image upload example from scratch

    Open Post