!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/spatie/laravel-analytics/src/   drwxr-xr-x
Free 13.12 GB of 57.97 GB (22.64%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AnalyticsServiceProvider.php (1.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Spatie\Analytics;

use 
Illuminate\Support\ServiceProvider;
use 
Spatie\Analytics\Exceptions\InvalidConfiguration;

class 
AnalyticsServiceProvider extends ServiceProvider
{
    
/**
     * Bootstrap the application events.
     */
    
public function boot()
    {
        
$this->publishes([
            
__DIR__.'/../config/analytics.php' => config_path('analytics.php'),
        ]);
    }

    
/**
     * Register the service provider.
     */
    
public function register()
    {
        
$this->mergeConfigFrom(__DIR__.'/../config/analytics.php''analytics');

        
$this->app->bind(AnalyticsClient::class, function () {
            
$analyticsConfig config('analytics');

            return 
AnalyticsClientFactory::createForConfig($analyticsConfig);
        });

        
$this->app->bind(Analytics::class, function () {
            
$analyticsConfig config('analytics');

            
$this->guardAgainstInvalidConfiguration($analyticsConfig);

            
$client app(AnalyticsClient::class);

            return new 
Analytics($client$analyticsConfig['view_id']);
        });

        
$this->app->alias(Analytics::class, 'laravel-analytics');
    }

    protected function 
guardAgainstInvalidConfiguration(array $analyticsConfig null)
    {
        if (empty(
$analyticsConfig['view_id'])) {
            throw 
InvalidConfiguration::viewIdNotSpecified();
        }

        if (
is_array($analyticsConfig['service_account_credentials_json'])) {
            return;
        }

        if (! 
file_exists($analyticsConfig['service_account_credentials_json'])) {
            throw 
InvalidConfiguration::credentialsJsonDoesNotExist($analyticsConfig['service_account_credentials_json']);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0053 ]--