!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)

/var/www/html/queuepro/vendor/laravel/framework/src/Illuminate/Foundation/Console/   drwxrwxr-x
Free 13.26 GB of 57.97 GB (22.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     StubPublishCommand.php (4.71 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Foundation\Console;

use 
Illuminate\Console\Command;
use 
Illuminate\Filesystem\Filesystem;

class 
StubPublishCommand extends Command
{
    
/**
     * The name and signature of the console command.
     *
     * @var string
     */
    
protected $signature 'stub:publish {--force : Overwrite any existing files}';

    
/**
     * The name of the console command.
     *
     * This name is used to identify the command during lazy loading.
     *
     * @var string|null
     */
    
protected static $defaultName 'stub:publish';

    
/**
     * The console command description.
     *
     * @var string
     */
    
protected $description 'Publish all stubs that are available for customization';

    
/**
     * Execute the console command.
     *
     * @return void
     */
    
public function handle()
    {
        if (! 
is_dir($stubsPath $this->laravel->basePath('stubs'))) {
            (new 
Filesystem)->makeDirectory($stubsPath);
        }

        
$files = [
            
__DIR__.'/stubs/cast.stub' => $stubsPath.'/cast.stub',
            
__DIR__.'/stubs/console.stub' => $stubsPath.'/console.stub',
            
__DIR__.'/stubs/event.stub' => $stubsPath.'/event.stub',
            
__DIR__.'/stubs/job.queued.stub' => $stubsPath.'/job.queued.stub',
            
__DIR__.'/stubs/job.stub' => $stubsPath.'/job.stub',
            
__DIR__.'/stubs/mail.stub' => $stubsPath.'/mail.stub',
            
__DIR__.'/stubs/markdown-mail.stub' => $stubsPath.'/markdown-mail.stub',
            
__DIR__.'/stubs/markdown-notification.stub' => $stubsPath.'/markdown-notification.stub',
            
__DIR__.'/stubs/model.pivot.stub' => $stubsPath.'/model.pivot.stub',
            
__DIR__.'/stubs/model.stub' => $stubsPath.'/model.stub',
            
__DIR__.'/stubs/notification.stub' => $stubsPath.'/notification.stub',
            
__DIR__.'/stubs/observer.plain.stub' => $stubsPath.'/observer.plain.stub',
            
__DIR__.'/stubs/observer.stub' => $stubsPath.'/observer.stub',
            
__DIR__.'/stubs/policy.plain.stub' => $stubsPath.'/policy.plain.stub',
            
__DIR__.'/stubs/policy.stub' => $stubsPath.'/policy.stub',
            
__DIR__.'/stubs/provider.stub' => $stubsPath.'/provider.stub',
            
__DIR__.'/stubs/request.stub' => $stubsPath.'/request.stub',
            
__DIR__.'/stubs/resource-collection.stub' => $stubsPath.'/resource-collection.stub',
            
__DIR__.'/stubs/resource.stub' => $stubsPath.'/resource.stub',
            
__DIR__.'/stubs/rule.stub' => $stubsPath.'/rule.stub',
            
__DIR__.'/stubs/scope.stub' => $stubsPath.'/scope.stub',
            
__DIR__.'/stubs/test.stub' => $stubsPath.'/test.stub',
            
__DIR__.'/stubs/test.unit.stub' => $stubsPath.'/test.unit.stub',
            
__DIR__.'/stubs/view-component.stub' => $stubsPath.'/view-component.stub',
            
realpath(__DIR__.'/../../Database/Console/Factories/stubs/factory.stub') => $stubsPath.'/factory.stub',
            
realpath(__DIR__.'/../../Database/Console/Seeds/stubs/seeder.stub') => $stubsPath.'/seeder.stub',
            
realpath(__DIR__.'/../../Database/Migrations/stubs/migration.create.stub') => $stubsPath.'/migration.create.stub',
            
realpath(__DIR__.'/../../Database/Migrations/stubs/migration.stub') => $stubsPath.'/migration.stub',
            
realpath(__DIR__.'/../../Database/Migrations/stubs/migration.update.stub') => $stubsPath.'/migration.update.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.api.stub') => $stubsPath.'/controller.api.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.invokable.stub') => $stubsPath.'/controller.invokable.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.model.api.stub') => $stubsPath.'/controller.model.api.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.model.stub') => $stubsPath.'/controller.model.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.nested.api.stub') => $stubsPath.'/controller.nested.api.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.nested.stub') => $stubsPath.'/controller.nested.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.plain.stub') => $stubsPath.'/controller.plain.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/controller.stub') => $stubsPath.'/controller.stub',
            
realpath(__DIR__.'/../../Routing/Console/stubs/middleware.stub') => $stubsPath.'/middleware.stub',
        ];

        foreach (
$files as $from => $to) {
            if (! 
file_exists($to) || $this->option('force')) {
                
file_put_contents($tofile_get_contents($from));
            }
        }

        
$this->info('Stubs published successfully.');
    }
}

:: 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.0054 ]--