PHP 8.3.31
Preview: LocationServiceProvider.php Size: 734 B
//proc/self/root/home/getspomw/itechservicellc.com/vendor/stevebauman/location/src/LocationServiceProvider.php

<?php

namespace Stevebauman\Location;

use Illuminate\Support\ServiceProvider;
use Stevebauman\Location\Commands\Update;

class LocationServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the service provider.
     */
    public function boot(): void
    {
        $this->mergeConfigFrom(
            $config = __DIR__.'/../config/location.php', 'location'
        );

        if ($this->app->runningInConsole()) {
            $this->publishes([$config => config_path('location.php')]);
        }

        $this->commands(Update::class);
    }

    /**
     * Register bindings in the service container.
     */
    public function register(): void
    {
        $this->app->singleton(LocationManager::class);
    }
}

Directory Contents

Dirs: 4 × Files: 6

Name Size Perms Modified Actions
Commands DIR
- drwxr-xr-x 2025-11-18 19:24:10
Edit Download
Drivers DIR
- drwxr-xr-x 2025-11-18 19:24:10
Edit Download
- drwxr-xr-x 2025-11-18 19:24:10
Edit Download
Facades DIR
- drwxr-xr-x 2025-11-18 19:24:10
Edit Download
938 B lrw-r--r-- 2025-10-28 20:23:32
Edit Download
2.79 KB lrw-r--r-- 2025-10-28 20:23:32
Edit Download
1.22 KB lrw-r--r-- 2025-10-28 20:23:32
Edit Download
734 B lrw-r--r-- 2025-10-28 20:23:32
Edit Download
2.35 KB lrw-r--r-- 2025-10-28 20:23:32
Edit Download
420 B lrw-r--r-- 2025-10-28 20:23:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).