Skip to content

Laravel 12 Support Release

Latest

Choose a tag to compare

@BSN4 BSN4 released this 14 Apr 11:58
ff9e034

Release Notes

  • Added support for Laravel 12
  • Fixed compatibility with Torann/GeoIP breaking changes

Important GeoIP Configuration Notice

Torann/GeoIP has made breaking changes removing auto-discovery. If you're experiencing the error "No GeoIP service is configured", please follow these steps:

  1. Publish the GeoIP configuration file:

    php artisan vendor:publish --provider="Torann\GeoIP\GeoIPServiceProvider" --tag=config
  2. Open config/geoip.php and set a default service:

       // Change from
       'service' => null,
       
       // To
       'service' => 'ipdata', // or any other service you prefer
  3. Configure your selected service with appropriate API keys as needed

  4. Register the GeoIP provider and alias in your config/app.php:

         'providers' => [
             // Other providers...
             \Torann\GeoIP\GeoIPServiceProvider::class,
         ],
         
         'aliases' => [
             // Other aliases...
             'GeoIP' => \Torann\GeoIP\Facades\GeoIP::class,
         ],

For more information on configuring GeoIP, please refer to the Torann/GeoIP documentation.