at path:ROOT / clients / vendor / nesbot / carbon / bin / carbon
run:R W Run
391 By
2026-04-08 19:36:41
R W Run
93 By
2026-04-08 19:36:41
R W Run
error_log
📄carbon
1#!/usr/bin/env php
2<?php
3
4use Carbon\Cli\Invoker;
5
6$dir = __DIR__.'/..';
7
8if (!file_exists($dir.'/autoload.php')) {
9 $dir = __DIR__.'/../vendor';
10}
11
12if (!file_exists($dir.'/autoload.php')) {
13 $dir = __DIR__.'/../../..';
14}
15
16if (!file_exists($dir.'/autoload.php')) {
17 echo 'Autoload not found.';
18 exit(1);
19}
20
21require $dir.'/autoload.php';
22
23exit((new Invoker())(...$argv) ? 0 : 1);
24