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

Software: Apache/2.4.68 (Linux) PHP/7.4.33. PHP/7.4.33 

uname -a: Linux bjb2293782.nichost.ru 6.6.151-1.el8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Aug 10
11:16:02 MSK 2026 x86_64
 

uid=12584(bjb2293782) gid=12584(bjb2293782) groups=12584(bjb2293782)  

Safe-mode: OFF (not secure)

/usr/share/php/Composer/Installer/   drwxr-xr-x
Free 59.78 GB of 99.95 GB (59.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ProjectInstaller.php (3.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);

/*
 * This file is part of Composer.
 *
 * (c) Nils Adermann <naderman@naderman.de>
 *     Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Composer\Installer;

use 
React\Promise\PromiseInterface;
use 
Composer\Package\PackageInterface;
use 
Composer\Downloader\DownloadManager;
use 
Composer\Repository\InstalledRepositoryInterface;
use 
Composer\Util\Filesystem;

/**
 * Project Installer is used to install a single package into a directory as
 * root project.
 *
 * @author Benjamin Eberlei <kontakt@beberlei.de>
 */
class ProjectInstaller implements InstallerInterface
{
    
/** @var string */
    
private $installPath;
    
/** @var DownloadManager */
    
private $downloadManager;
    
/** @var Filesystem */
    
private $filesystem;

    public function 
__construct(string $installPathDownloadManager $dmFilesystem $fs)
    {
        
$this->installPath rtrim(strtr($installPath'\\''/'), '/').'/';
        
$this->downloadManager $dm;
        
$this->filesystem $fs;
    }

    
/**
     * Decides if the installer supports the given type
     */
    
public function supports(string $packageType): bool
    
{
        return 
true;
    }

    
/**
     * @inheritDoc
     */
    
public function isInstalled(InstalledRepositoryInterface $repoPackageInterface $package): bool
    
{
        return 
false;
    }

    
/**
     * @inheritDoc
     */
    
public function download(PackageInterface $package, ?PackageInterface $prevPackage null): ?PromiseInterface
    
{
        
$installPath $this->installPath;
        if (
file_exists($installPath) && !$this->filesystem->isDirEmpty($installPath)) {
            throw new \
InvalidArgumentException("Project directory $installPath is not empty.");
        }
        if (!
is_dir($installPath)) {
            
mkdir($installPath0777true);
        }

        return 
$this->downloadManager->download($package$installPath$prevPackage);
    }

    
/**
     * @inheritDoc
     */
    
public function prepare($typePackageInterface $package, ?PackageInterface $prevPackage null): ?PromiseInterface
    
{
        return 
$this->downloadManager->prepare($type$package$this->installPath$prevPackage);
    }

    
/**
     * @inheritDoc
     */
    
public function cleanup($typePackageInterface $package, ?PackageInterface $prevPackage null): ?PromiseInterface
    
{
        return 
$this->downloadManager->cleanup($type$package$this->installPath$prevPackage);
    }

    
/**
     * @inheritDoc
     */
    
public function install(InstalledRepositoryInterface $repoPackageInterface $package): ?PromiseInterface
    
{
        return 
$this->downloadManager->install($package$this->installPath);
    }

    
/**
     * @inheritDoc
     */
    
public function update(InstalledRepositoryInterface $repoPackageInterface $initialPackageInterface $target): ?PromiseInterface
    
{
        throw new \
InvalidArgumentException("not supported");
    }

    
/**
     * @inheritDoc
     */
    
public function uninstall(InstalledRepositoryInterface $repoPackageInterface $package): ?PromiseInterface
    
{
        throw new \
InvalidArgumentException("not supported");
    }

    
/**
     * Returns the installation path of a package
     *
     * @return string configured install path
     */
    
public function getInstallPath(PackageInterface $package): string
    
{
        return 
$this->installPath;
    }
}

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