Skip to content

Web Developer Pakistan

  • Home
  • About Me
    • Technical Expertise
    • PHP Web Developer
      • Code Igniter Web Developer
  • Services
    • Website Development
      • E-commerce website development
        • Open Cart E-commerce Website Development
        • Woocommerce website development
        • Zen Cart Website Development
      • CMS website development
      • Mobile Website Development
      • Responsive web page design and HTML
      • Custom/Bespoke website development
    • Email Marketing
    • eBay product management from your website
    • Website Marketing
      • Facebook Marketing
    • Website Scraping
    • SEO audit and analysis
    • Resize all images to a particular dimension
    • WordPress
      • Restore WordPress website from backup
  • Contact Me
    • Request Quote
  • Blog
  • Plugins
    • PSX Quotes
    • WordPress Plugins
      • WhatsTrack
      • PSX Daily Quotes
      • Get Country From IP

PHP>Laravel

How to add ip2location library support in my Laravel website code?

September 30, 2019 by adeel

IP2Location is a 3rd party provider which provides website owners the option to detect the actual location of the visitor i.e. country, city, postcode, ISP etc from the IP address of the visitor. They provide you several options to use their data to detect the visitor’s location. For this example I will use the option … Read more

Categories PHP>Laravel Leave a comment

How to fetch visitors location using ip2location in Laravel

September 30, 2019 by adeel

If you have installed the ip2location library for Laravel as described in the previous post then you can proceed with the next step i.e. using it in your controller to fetch the visitor’s location data from their IP address. First I will create a controller by the name of HomeController.php artisan make:controller HomeController Open the … Read more

Categories PHP>Laravel Leave a comment

Recent Posts

  • How to stop showing videos of other YouTube channels at the end of your video
  • How to stop users from copy pasting content from my web page
  • How to fetch posts from my WordPress blog without accessing the database
  • How to use Google font on my web page?
  • How to check if my website is safe from malware infection

Hire me today


Adeel Sarfraz


Completed over 150 projects on Freelancer with 5 rating. Hire me today!
© 2021 Web Developer Pakistan • Built with GeneratePress