Tag : Laravel 5


How to get location information from ip address in Laravel ?

Sometimes, we may require to get user information from ip address in Laravel 5 application at that time this article can help to get info from IP. We can get information from IP Address using "stevebauman/location" composer package for Laravel. "stevebauman/location" through we can get info like country Name, country Code, region Code, region Name, city Name, zip Code, iso Code, postal Code, latitude, longitude, metro Code, metro Code. They will provide bellow following details that they can get from IP. So first we require to install "stevebauman/location" composer package by using followin.....

By Hardik Savani | January 11, 2017 | | 270 Viewer | Category : Laravel
READ MORE

Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 1

In this Tutorial, I am going to share with you how to make dynamic dependent dropdown box using Ajax like When i select category, then sub category select box value should be change. We can't do this stuff without ajax. So, in this Post i am going to give you full and very simple example of dynamic select box using change event of jquery. This article written in two parts, so it can be easy to understand and if you are beginner then also you can simply perform because this tutorial is from scratch. In this example i created two tables as listed bellow: <strong>1)countries</strong> <strong>2).....

By Hardik Savani | January 8, 2017 | | 1491 Viewer | Category : PHP Laravel Bootstrap jQuery MySql Ajax
READ MORE

Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example - Part 2

<br/> After complete our fist part of Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example, Now we have to do main task for Dynamic select box value. In this part we follow two step for create Controller File and Laravel Blade File. In this part we write code for how to manage controller method and how to give response them. So let's follow this bellow remaining two step of change drop down options on change of parent dropdown. So let's follow: <strong class="step">Step 5: Create Controller</strong> In this point, now we should create new controller as AjaxDemoController in th.....

By Hardik Savani | January 8, 2017 | | 558 Viewer | Category : PHP Laravel Bootstrap jQuery MySql Ajax
READ MORE

MySql comma separated column join in PHP Laravel 5

If we work in big application or project of Laravel Framework, sometimes we require to manage column value into comma separated because we can save memory of database. But if we store comma separated value in column with ids then it's difficult to inner join or left join and get records from another tables. However, SQL provide FIND_IN_SET() for checking value one by one, that way we can also search from comma separated value. FIND_IN_SET() will help to join with tables and we can simply get data. In this post, I will give you full example of how to get data from comma separated column table.....

By Hardik Savani | January 7, 2017 | | 322 Viewer | Category : PHP Laravel MySql SQL
READ MORE

Laravel 5 amazon s3 file upload tutorial - Part 1

Today, I am going to share with you How to file upload in AWS s3 using Laravel 5. Laravel 5 introduce new feature in FileSystem that makes easy to upload file or image or docs etc in S3 server. If you plane to keep your files like image, docs(pdf, xlx, docs), video or audio files on Amazon S3 server and access like CDN. So Laravel 5 FileSystem provide to simple way to upload files in amazon s3 server and also get easily file url and remove it etc. In this tutorial we will go through full example of image upload in s3 server from scratch. When we use s3 driver for Storage FileSystem we requir.....

By Hardik Savani | January 4, 2017 | | 705 Viewer | Category : PHP Laravel Bootstrap Amazon API
READ MORE

Laravel 5 amazon s3 file upload tutorial - Part 2

<br/> <br/> In this part we have last two step to create controller and make blade view file for file upload on amazon s3 server using Laravel 5 FileSystem. In this step, we will use "Storage" facade for upload file in amazon server and also get cdn url of uploaded files. So let's follow bellow two step for finish the full example of upload image in s3 server. <strong class="step">Step 5: Create Controller</strong> In this point, now we should create new controller as S3ImageController in this path <strong class="path">app/Http/Controllers/S3ImageController.php</strong>. this controller will.....

By Hardik Savani | January 4, 2017 | | 270 Viewer | Category : PHP Laravel Bootstrap Amazon API
READ MORE

Ajax Image Upload Example with Validation in PHP Laravel Framework

Today, I am going to show you How to image or file upload using jquery Ajax in our Laravel application. In this tutorial i explain step by step example code of ajax image upload using jquery form JS. As you know today, we have basic feature image or file uploading(<a href="http://itsolutionstuff.com/post/laravel-53-image-upload-with-validation-exampleexample.html" target="_blank">Laravel 5.3 Image Upload with Validation example</a>) on our PHP Project Or Laravel application. Client always want to store image for profile, products, items, users etc. Laravel provide very simple way to store tha.....

By Hardik Savani | December 28, 2016 | | 2737 Viewer | Category : PHP Laravel Javascript Bootstrap jQuery MySql Ajax
READ MORE

How to send mail using zoho smtp server in PHP Laravel?

Laravel is a very popular and best framework in PHP. Laravel provide several mail drivers like smtp, mail, sendmail, mailgun, mandrill etc. We can also send mail using zoho smtp. I already post send mail using gmail, mailgun etc. Laravel gives us very simple configuration for mail send. So we can simply setup zoho server details. We have to just setup detail for host, post, driver and encryption. You have to follow this link for mail sending, You have to just change, .env file. First just follow this link. <a class="post-link" href="http://itsolutionstuff.com/post/how-to-send-mail-example-in.....

By Hardik Savani | December 22, 2016 | | 414 Viewer | Category : PHP Laravel
READ MORE

Laravel guzzle http client POST request example

A very few days ago i was working on my laravel 5.3 application and i require to use WordPress API. I was thinking how to use WP API, But i found docs for WordPress API, But i don't know how to fire GET, POST, PUT and DELETE request from Laravel side. I did search lot but nothing to find good. However, I found guzzlehttp package for laravel and little bit read about that, i understand we can simply fire get, post, delete etc request from laravel using guzzlehttp client through. But i was also one query how to make basic auto with POST request but here also solution for this. So in this post.....

By Hardik Savani | December 22, 2016 | | 775 Viewer | Category : Laravel JSON
READ MORE

Laravel 5 - Twitter API using thujohn/twitter composer package tutorial

In this tutorial, I am going to share how to access twitter feed using twitter api in Laravel 5, In this example we also post tweet with multiple image upload using thujohn/twitter composer package of Laravel. As you know twitter is very popular social networking website. They also provide api to manage your tweets and also other information. In this example we are going to use thujohn/twitter composer package for use twitter api. thujohn/twitter package through we can use easily all api like fetch linkify(), linkUser(), getUserTimeline(), getHomeTimeline(), postTweet(), uploadMedia() etc. So.....

By Hardik Savani | December 11, 2016 | | 1144 Viewer | Category : PHP Laravel Bootstrap Twitter API
READ MORE

    Laravel 5 - Multiple markers in google map using gmaps.js

    Laravel 5 - Multiple markers in google map using gmaps.js

    Open Post

    PHP - import excel file into mysql database tutorial

    PHP - import excel file into mysql database tutorial

    Open Post

    How to create authentication(login and registration) in Laravel 5.2?

    How to create authentication(login and registration) in Laravel 5.2?

    Open Post

    Jquery - How to copy text to clipboard without flash example ?

    Jquery - How to copy text to clipboard without flash example ?

    Open Post

    How to add multiple markers in google map

    How to add multiple markers in google map

    Open Post

    How to add ckeditor with image upload in Laravel ?

    How to add ckeditor with image upload in Laravel ?

    Open Post