From 37dcecbcf76cd5e16fd3e64629242f0acbaae842 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 24 Apr 2024 16:26:13 +0100 Subject: [PATCH] Removes logo component --- src/Commands/InstallCommand.php | 1 - src/Components/Logo/FigletString.php | 110 -- src/Components/Logo/Installer.php | 60 - src/Components/Logo/Provider.php | 52 - src/Components/Logo/fonts/big.flf | 2204 -------------------------- src/Components/Logo/stubs/logo.php | 84 - tests/Components/LogoInstallTest.php | 33 - 7 files changed, 2544 deletions(-) delete mode 100644 src/Components/Logo/FigletString.php delete mode 100644 src/Components/Logo/Installer.php delete mode 100644 src/Components/Logo/Provider.php delete mode 100644 src/Components/Logo/fonts/big.flf delete mode 100644 src/Components/Logo/stubs/logo.php delete mode 100644 tests/Components/LogoInstallTest.php diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index c5bd2148..e985d991 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -39,7 +39,6 @@ final class InstallCommand extends Command 'dotenv' => Components\Dotenv\Installer::class, 'http' => Components\Http\Installer::class, 'log' => Components\Log\Installer::class, - 'logo' => Components\Logo\Installer::class, 'menu' => Components\Menu\Installer::class, 'queue' => Components\Queue\Installer::class, 'redis' => Components\Redis\Installer::class, diff --git a/src/Components/Logo/FigletString.php b/src/Components/Logo/FigletString.php deleted file mode 100644 index 850ae969..00000000 --- a/src/Components/Logo/FigletString.php +++ /dev/null @@ -1,110 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace LaravelZero\Framework\Components\Logo; - -use InvalidArgumentException; -use Laminas\Text\Figlet\Figlet; - -/** - * @internal - */ -final class FigletString -{ - private string $string; - - private Figlet $figlet; - - public const DEFAULT_FONT = __DIR__.DIRECTORY_SEPARATOR.'fonts'.DIRECTORY_SEPARATOR.'big.flf'; - - public function __construct(string $string, array $options) - { - $this->string = $string; - $this->figlet = new Figlet(); - - $this->parseOptions($options); - } - - private function parseOptions(array $config): void - { - $this - ->font($config['font'] ?? self::DEFAULT_FONT) - ->outputWidth($config['outputWidth'] ?? 80) - ->justification($config['justification'] ?? null) - ->rightToLeft($config['rightToLeft'] ?? null); - } - - private function font(?string $font): self - { - if (is_null($font)) { - return $this; - } - - $this->figlet->setFont($font); - - return $this; - } - - private function outputWidth(int $outputWidth): self - { - $this->figlet->setOutputWidth($outputWidth); - - return $this; - } - - private function justification(?string $justification): self - { - switch ($justification) { - case 'left': - $this->figlet->setJustification(Figlet::JUSTIFICATION_LEFT); - break; - case 'center': - $this->figlet->setJustification(Figlet::JUSTIFICATION_CENTER); - break; - case 'right': - $this->figlet->setJustification(Figlet::JUSTIFICATION_RIGHT); - break; - case null: - // Let Figlet handle the justification - break; - default: - throw new InvalidArgumentException('Invalid value given for the `logo.justification` option'); - } - - return $this; - } - - private function rightToLeft(?string $rightToLeft): void - { - switch ($rightToLeft) { - case 'right-to-left': - $this->figlet->setRightToLeft(Figlet::DIRECTION_RIGHT_TO_LEFT); - break; - case 'left-to-right': - $this->figlet->setRightToLeft(Figlet::DIRECTION_LEFT_TO_RIGHT); - break; - case null: - // Let Figlet handle this - break; - default: - throw new \InvalidArgumentException('Invalid value given for the `logo.rightToLeft` option'); - } - } - - public function __toString() - { - $rendered = $this->figlet->render($this->string); - - return "\n{$rendered}\n"; - } -} diff --git a/src/Components/Logo/Installer.php b/src/Components/Logo/Installer.php deleted file mode 100644 index 51c309a2..00000000 --- a/src/Components/Logo/Installer.php +++ /dev/null @@ -1,60 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace LaravelZero\Framework\Components\Logo; - -use Illuminate\Support\Facades\File; -use LaravelZero\Framework\Components\AbstractInstaller; - -/** - * @internal - */ -final class Installer extends AbstractInstaller -{ - /** - * {@inheritdoc} - */ - protected $name = 'install:logo'; - - /** - * {@inheritdoc} - */ - protected $description = 'Logo: Display app name as ASCII logo'; - - /** - * The config file path. - */ - private const CONFIG_FILE = __DIR__.DIRECTORY_SEPARATOR.'stubs'.DIRECTORY_SEPARATOR.'logo.php'; - - /** - * {@inheritdoc} - */ - public function install(): void - { - $this->require('laminas/laminas-text "^2.11"'); - - $this->task( - 'Creating default logo configuration', - function () { - if (! File::exists(config_path('logo.php'))) { - return File::copy( - static::CONFIG_FILE, - $this->app->configPath('logo.php') - ); - } - - return false; - } - ); - } -} diff --git a/src/Components/Logo/Provider.php b/src/Components/Logo/Provider.php deleted file mode 100644 index 4b7e465f..00000000 --- a/src/Components/Logo/Provider.php +++ /dev/null @@ -1,52 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace LaravelZero\Framework\Components\Logo; - -use Illuminate\Console\Application as Artisan; -use LaravelZero\Framework\Components\AbstractComponentProvider; - -use function class_exists; - -/** - * @internal - */ -final class Provider extends AbstractComponentProvider -{ - /** - * {@inheritdoc} - */ - public function isAvailable(): bool - { - return class_exists(\Laminas\Text\Figlet\Figlet::class) - && is_array($this->app['config']->get('logo', false)); - } - - /** - * {@inheritdoc} - */ - public function register(): void - { - $config = $this->app['config']; - - if ($config->get('logo.enabled', false)) { - Artisan::starting( - function ($artisan) use ($config) { - $artisan->setName( - (string) new FigletString($config->get('logo.name') ?? $config->get('app.name'), $config->get('logo', [])) - ); - } - ); - } - } -} diff --git a/src/Components/Logo/fonts/big.flf b/src/Components/Logo/fonts/big.flf deleted file mode 100644 index eb21873c..00000000 --- a/src/Components/Logo/fonts/big.flf +++ /dev/null @@ -1,2204 +0,0 @@ -flf2a$ 8 6 59 15 10 0 24463 -Big by Glenn Chappell 4/93 -- based on Standard -Includes ISO Latin-1 -Greek characters by Bruce Jakeway -figlet release 2.2 -- November 1996 -Permission is hereby given to modify this font, as long as the -modifier's name is placed on a comment line. - -Modified by Paul Burton 12/96 to include new parameter -supported by FIGlet and FIGWin. May also be slightly modified for better use -of new full-width/kern/smush alternatives, but default output is NOT changed. - $@ - $@ - $@ - $@ - $@ - $@ - $@ - $@@ - _ @ - | |@ - | |@ - | |@ - |_|@ - (_)@ - @ - @@ - _ _ @ - ( | )@ - V V @ - $ @ - $ @ - $ @ - @ - @@ - _ _ @ - _| || |_ @ - |_ __ _|@ - _| || |_ @ - |_ __ _|@ - |_||_| @ - @ - @@ - _ @ - | | @ - / __)@ - \__ \@ - ( /@ - |_| @ - @ - @@ - _ __@ - (_) / /@ - / / @ - / / @ - / / _ @ - /_/ (_)@ - @ - @@ - @ - ___ @ - ( _ ) @ - / _ \/\@ - | (_> <@ - \___/\/@ - @ - @@ - _ @ - ( )@ - |/ @ - $ @ - $ @ - $ @ - @ - @@ - __@ - / /@ - | | @ - | | @ - | | @ - | | @ - \_\@ - @@ - __ @ - \ \ @ - | |@ - | |@ - | |@ - | |@ - /_/ @ - @@ - _ @ - /\| |/\ @ - \ ` ' / @ - |_ _|@ - / , . \ @ - \/|_|\/ @ - @ - @@ - @ - _ @ - _| |_ @ - |_ _|@ - |_| @ - $ @ - @ - @@ - @ - @ - @ - @ - _ @ - ( )@ - |/ @ - @@ - @ - @ - ______ @ - |______|@ - $ @ - $ @ - @ - @@ - @ - @ - @ - @ - _ @ - (_)@ - @ - @@ - __@ - / /@ - / / @ - / / @ - / / @ - /_/ @ - @ - @@ - ___ @ - / _ \ @ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ - __ @ - /_ |@ - | |@ - | |@ - | |@ - |_|@ - @ - @@ - ___ @ - |__ \ @ - $) |@ - / / @ - / /_ @ - |____|@ - @ - @@ - ____ @ - |___ \ @ - __) |@ - |__ < @ - ___) |@ - |____/ @ - @ - @@ - _ _ @ - | || | @ - | || |_ @ - |__ _|@ - | | @ - |_| @ - @ - @@ - _____ @ - | ____|@ - | |__ @ - |___ \ @ - ___) |@ - |____/ @ - @ - @@ - __ @ - / / @ - / /_ @ - | '_ \ @ - | (_) |@ - \___/ @ - @ - @@ - ______ @ - |____ |@ - $/ / @ - / / @ - / / @ - /_/ @ - @ - @@ - ___ @ - / _ \ @ - | (_) |@ - > _ < @ - | (_) |@ - \___/ @ - @ - @@ - ___ @ - / _ \ @ - | (_) |@ - \__, |@ - / / @ - /_/ @ - @ - @@ - @ - _ @ - (_)@ - $ @ - _ @ - (_)@ - @ - @@ - @ - _ @ - (_)@ - $ @ - _ @ - ( )@ - |/ @ - @@ - __@ - / /@ - / / @ - < < @ - \ \ @ - \_\@ - @ - @@ - @ - ______ @ - |______|@ - ______ @ - |______|@ - @ - @ - @@ - __ @ - \ \ @ - \ \ @ - > >@ - / / @ - /_/ @ - @ - @@ - ___ @ - |__ \ @ - ) |@ - / / @ - |_| @ - (_) @ - @ - @@ - @ - ____ @ - / __ \ @ - / / _` |@ - | | (_| |@ - \ \__,_|@ - \____/ @ - @@ - @ - /\ @ - / \ @ - / /\ \ @ - / ____ \ @ - /_/ \_\@ - @ - @@ - ____ @ - | _ \ @ - | |_) |@ - | _ < @ - | |_) |@ - |____/ @ - @ - @@ - _____ @ - / ____|@ - | | $ @ - | | $ @ - | |____ @ - \_____|@ - @ - @@ - _____ @ - | __ \ @ - | | | |@ - | | | |@ - | |__| |@ - |_____/ @ - @ - @@ - ______ @ - | ____|@ - | |__ @ - | __| @ - | |____ @ - |______|@ - @ - @@ - ______ @ - | ____|@ - | |__ @ - | __| @ - | | @ - |_| @ - @ - @@ - _____ @ - / ____|@ - | | __ @ - | | |_ |@ - | |__| |@ - \_____|@ - @ - @@ - _ _ @ - | | | |@ - | |__| |@ - | __ |@ - | | | |@ - |_| |_|@ - @ - @@ - _____ @ - |_ _|@ - | | @ - | | @ - _| |_ @ - |_____|@ - @ - @@ - _ @ - | |@ - | |@ - _ | |@ - | |__| |@ - \____/ @ - @ - @@ - _ __@ - | |/ /@ - | ' / @ - | < @ - | . \ @ - |_|\_\@ - @ - @@ - _ @ - | | @ - | | @ - | | @ - | |____ @ - |______|@ - @ - @@ - __ __ @ - | \/ |@ - | \ / |@ - | |\/| |@ - | | | |@ - |_| |_|@ - @ - @@ - _ _ @ - | \ | |@ - | \| |@ - | . ` |@ - | |\ |@ - |_| \_|@ - @ - @@ - ____ @ - / __ \ @ - | | | |@ - | | | |@ - | |__| |@ - \____/ @ - @ - @@ - _____ @ - | __ \ @ - | |__) |@ - | ___/ @ - | | @ - |_| @ - @ - @@ - ____ @ - / __ \ @ - | | | |@ - | | | |@ - | |__| |@ - \___\_\@ - @ - @@ - _____ @ - | __ \ @ - | |__) |@ - | _ / @ - | | \ \ @ - |_| \_\@ - @ - @@ - _____ @ - / ____|@ - | (___ @ - \___ \ @ - ____) |@ - |_____/ @ - @ - @@ - _______ @ - |__ __|@ - | | @ - | | @ - | | @ - |_| @ - @ - @@ - _ _ @ - | | | |@ - | | | |@ - | | | |@ - | |__| |@ - \____/ @ - @ - @@ - __ __@ - \ \ / /@ - \ \ / / @ - \ \/ / @ - \ / @ - \/ @ - @ - @@ - __ __@ - \ \ / /@ - \ \ /\ / / @ - \ \/ \/ / @ - \ /\ / @ - \/ \/ @ - @ - @@ - __ __@ - \ \ / /@ - \ V / @ - > < @ - / . \ @ - /_/ \_\@ - @ - @@ - __ __@ - \ \ / /@ - \ \_/ / @ - \ / @ - | | @ - |_| @ - @ - @@ - ______@ - |___ /@ - $/ / @ - / / @ - / /__ @ - /_____|@ - @ - @@ - ___ @ - | _|@ - | | @ - | | @ - | | @ - | |_ @ - |___|@ - @@ - __ @ - \ \ @ - \ \ @ - \ \ @ - \ \ @ - \_\@ - @ - @@ - ___ @ - |_ |@ - | |@ - | |@ - | |@ - _| |@ - |___|@ - @@ - /\ @ - |/\|@ - $ @ - $ @ - $ @ - $ @ - @ - @@ - @ - @ - @ - @ - @ - $ @ - ______ @ - |______|@@ - _ @ - ( )@ - \|@ - $ @ - $ @ - $ @ - @ - @@ - @ - @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ - _ @ - | | @ - | |__ @ - | '_ \ @ - | |_) |@ - |_.__/ @ - @ - @@ - @ - @ - ___ @ - / __|@ - | (__ @ - \___|@ - @ - @@ - _ @ - | |@ - __| |@ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ - @ - @ - ___ @ - / _ \@ - | __/@ - \___|@ - @ - @@ - __ @ - / _|@ - | |_ @ - | _|@ - | | @ - |_| @ - @ - @@ - @ - @ - __ _ @ - / _` |@ - | (_| |@ - \__, |@ - __/ |@ - |___/ @@ - _ @ - | | @ - | |__ @ - | '_ \ @ - | | | |@ - |_| |_|@ - @ - @@ - _ @ - (_)@ - _ @ - | |@ - | |@ - |_|@ - @ - @@ - _ @ - (_)@ - _ @ - | |@ - | |@ - | |@ - _/ |@ - |__/ @@ - _ @ - | | @ - | | __@ - | |/ /@ - | < @ - |_|\_\@ - @ - @@ - _ @ - | |@ - | |@ - | |@ - | |@ - |_|@ - @ - @@ - @ - @ - _ __ ___ @ - | '_ ` _ \ @ - | | | | | |@ - |_| |_| |_|@ - @ - @@ - @ - @ - _ __ @ - | '_ \ @ - | | | |@ - |_| |_|@ - @ - @@ - @ - @ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ - @ - @ - _ __ @ - | '_ \ @ - | |_) |@ - | .__/ @ - | | @ - |_| @@ - @ - @ - __ _ @ - / _` |@ - | (_| |@ - \__, |@ - | |@ - |_|@@ - @ - @ - _ __ @ - | '__|@ - | | @ - |_| @ - @ - @@ - @ - @ - ___ @ - / __|@ - \__ \@ - |___/@ - @ - @@ - _ @ - | | @ - | |_ @ - | __|@ - | |_ @ - \__|@ - @ - @@ - @ - @ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ - @ - @ - __ __@ - \ \ / /@ - \ V / @ - \_/ @ - @ - @@ - @ - @ - __ __@ - \ \ /\ / /@ - \ V V / @ - \_/\_/ @ - @ - @@ - @ - @ - __ __@ - \ \/ /@ - > < @ - /_/\_\@ - @ - @@ - @ - @ - _ _ @ - | | | |@ - | |_| |@ - \__, |@ - __/ |@ - |___/ @@ - @ - @ - ____@ - |_ /@ - / / @ - /___|@ - @ - @@ - __@ - / /@ - | | @ - / / @ - \ \ @ - | | @ - \_\@ - @@ - _ @ - | |@ - | |@ - | |@ - | |@ - | |@ - | |@ - |_|@@ - __ @ - \ \ @ - | | @ - \ \@ - / /@ - | | @ - /_/ @ - @@ - /\/|@ - |/\/ @ - $ @ - $ @ - $ @ - $ @ - @ - @@ - _ _ @ - (_)_(_) @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ - _ _ @ - (_)_(_)@ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ - _ _ @ - (_) (_)@ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ - _ _ @ - (_) (_)@ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ - _ _ @ - (_) (_)@ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ - _ _ @ - (_) (_)@ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ - ___ @ - / _ \ @ - | | ) |@ - | |< < @ - | | ) |@ - | ||_/ @ - |_| @ - @@ -160 NO-BREAK SPACE - $@ - $@ - $@ - $@ - $@ - $@ - $@ - $@@ -161 INVERTED EXCLAMATION MARK - _ @ - (_)@ - | |@ - | |@ - | |@ - |_|@ - @ - @@ -162 CENT SIGN - @ - _ @ - | | @ - / __)@ - | (__ @ - \ )@ - |_| @ - @@ -163 POUND SIGN - ___ @ - / ,_\ @ - _| |_ @ - |__ __| @ - | |____ @ - (_,_____|@ - @ - @@ -164 CURRENCY SIGN - @ - /\___/\@ - \ _ /@ - | (_) |@ - / ___ \@ - \/ \/@ - @ - @@ -165 YEN SIGN - __ __ @ - \ \ / / @ - _\ V /_ @ - |___ ___|@ - |___ ___|@ - |_| @ - @ - @@ -166 BROKEN BAR - _ @ - | |@ - | |@ - |_|@ - _ @ - | |@ - | |@ - |_|@@ -167 SECTION SIGN - __ @ - _/ _)@ - / \ \ @ - \ \\ \@ - \ \_/@ - (__/ @ - @ - @@ -168 DIAERESIS - _ _ @ - (_) (_)@ - $ $ @ - $ $ @ - $ $ @ - $ $ @ - @ - @@ -169 COPYRIGHT SIGN - ________ @ - / ____ \ @ - / / ___| \ @ - | | | |@ - | | |___ |@ - \ \____| / @ - \________/ @ - @@ -170 FEMININE ORDINAL INDICATOR - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - |_____|@ - $ @ - @ - @@ -171 LEFT-POINTING DOUBLE ANGLE QUOTATION MARK - ____@ - / / /@ - / / / @ - < < < @ - \ \ \ @ - \_\_\@ - @ - @@ -172 NOT SIGN - @ - @ - ______ @ - |____ |@ - |_|@ - $ @ - @ - @@ -173 SOFT HYPHEN - @ - @ - _____ @ - |_____|@ - $ @ - $ @ - @ - @@ -174 REGISTERED SIGN - ________ @ - / ____ \ @ - / | _ \ \ @ - | | |_) | |@ - | | _ < |@ - \ |_| \_\ / @ - \________/ @ - @@ -175 MACRON - ______ @ - |______|@ - $ @ - $ @ - $ @ - $ @ - @ - @@ -176 DEGREE SIGN - __ @ - / \ @ - | () |@ - \__/ @ - $ @ - $ @ - @ - @@ -177 PLUS-MINUS SIGN - _ @ - _| |_ @ - |_ _|@ - |_| @ - _____ @ - |_____|@ - @ - @@ -178 SUPERSCRIPT TWO - ___ @ - |_ )@ - / / @ - /___|@ - $ @ - $ @ - @ - @@ -179 SUPERSCRIPT THREE - ____@ - |__ /@ - |_ \@ - |___/@ - $ @ - $ @ - @ - @@ -180 ACUTE ACCENT - __@ - /_/@ - $ @ - $ @ - $ @ - $ @ - @ - @@ -181 MICRO SIGN - @ - @ - _ _ @ - | | | |@ - | |_| |@ - | ._,_|@ - | | @ - |_| @@ -182 PILCROW SIGN - ______ @ - / |@ - | (| || |@ - \__ || |@ - | || |@ - |_||_|@ - @ - @@ -183 MIDDLE DOT - @ - @ - _ @ - (_)@ - $ @ - $ @ - @ - @@ -184 CEDILLA - @ - @ - @ - @ - @ - _ @ - )_)@ - @@ -185 SUPERSCRIPT ONE - _ @ - / |@ - | |@ - |_|@ - $ @ - $ @ - @ - @@ -186 MASCULINE ORDINAL INDICATOR - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - |_____|@ - $ @ - @ - @@ -187 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - ____ @ - \ \ \ @ - \ \ \ @ - > > >@ - / / / @ - /_/_/ @ - @ - @@ -188 VULGAR FRACTION ONE QUARTER - _ __ @ - / | / / @ - | |/ / _ @ - |_/ / | | @ - / /|_ _|@ - /_/ |_| @ - @ - @@ -189 VULGAR FRACTION ONE HALF - _ __ @ - / | / / @ - | |/ /__ @ - |_/ /_ )@ - / / / / @ - /_/ /___|@ - @ - @@ -190 VULGAR FRACTION THREE QUARTERS - ____ __ @ - |__ / / / @ - |_ \/ / _ @ - |___/ / | | @ - / /|_ _|@ - /_/ |_| @ - @ - @@ -191 INVERTED QUESTION MARK - _ @ - (_) @ - | | @ - / / @ - | (__ @ - \___|@ - @ - @@ -192 LATIN CAPITAL LETTER A WITH GRAVE - __ @ - \_\ @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -193 LATIN CAPITAL LETTER A WITH ACUTE - __ @ - /_/ @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -194 LATIN CAPITAL LETTER A WITH CIRCUMFLEX - //\ @ - |/_\| @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -195 LATIN CAPITAL LETTER A WITH TILDE - /\/| @ - |/\/ @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -196 LATIN CAPITAL LETTER A WITH DIAERESIS - _ _ @ - (_)_(_) @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -197 LATIN CAPITAL LETTER A WITH RING ABOVE - _ @ - (o) @ - / \ @ - / _ \ @ - / ___ \ @ - /_/ \_\@ - @ - @@ -198 LATIN CAPITAL LETTER AE - _______ @ - / ____|@ - / |__ @ - / /| __| @ - / ___ |____ @ - /_/ |______|@ - @ - @@ -199 LATIN CAPITAL LETTER C WITH CEDILLA - _____ @ - / ____|@ - | | $ @ - | | $ @ - | |____ @ - \_____|@ - )_) @ - @@ -200 LATIN CAPITAL LETTER E WITH GRAVE - __ @ - _\_\_ @ - | ____|@ - | _| @ - | |___ @ - |_____|@ - @ - @@ -201 LATIN CAPITAL LETTER E WITH ACUTE - __ @ - _/_/_ @ - | ____|@ - | _| @ - | |___ @ - |_____|@ - @ - @@ -202 LATIN CAPITAL LETTER E WITH CIRCUMFLEX - //\ @ - |/ \| @ - | ____|@ - | _| @ - | |___ @ - |_____|@ - @ - @@ -203 LATIN CAPITAL LETTER E WITH DIAERESIS - _ _ @ - (_) (_)@ - | ____|@ - | _| @ - | |___ @ - |_____|@ - @ - @@ -204 LATIN CAPITAL LETTER I WITH GRAVE - __ @ - \_\ @ - |_ _|@ - | | @ - | | @ - |___|@ - @ - @@ -205 LATIN CAPITAL LETTER I WITH ACUTE - __ @ - /_/ @ - |_ _|@ - | | @ - | | @ - |___|@ - @ - @@ -206 LATIN CAPITAL LETTER I WITH CIRCUMFLEX - //\ @ - |/_\|@ - |_ _|@ - | | @ - | | @ - |___|@ - @ - @@ -207 LATIN CAPITAL LETTER I WITH DIAERESIS - _ _ @ - (_)_(_)@ - |_ _| @ - | | @ - | | @ - |___| @ - @ - @@ -208 LATIN CAPITAL LETTER ETH - _____ @ - | __ \ @ - _| |_ | |@ - |__ __|| |@ - | |__| |@ - |_____/ @ - @ - @@ -209 LATIN CAPITAL LETTER N WITH TILDE - /\/| @ - |/\/_ @ - | \ | |@ - | \| |@ - | |\ |@ - |_| \_|@ - @ - @@ -210 LATIN CAPITAL LETTER O WITH GRAVE - __ @ - \_\ @ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -211 LATIN CAPITAL LETTER O WITH ACUTE - __ @ - /_/ @ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -212 LATIN CAPITAL LETTER O WITH CIRCUMFLEX - //\ @ - |/_\| @ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -213 LATIN CAPITAL LETTER O WITH TILDE - /\/| @ - |/\/ @ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -214 LATIN CAPITAL LETTER O WITH DIAERESIS - _ _ @ - (_)_(_)@ - / _ \ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -215 MULTIPLICATION SIGN - @ - @ - /\/\@ - > <@ - \/\/@ - $ @ - @ - @@ -216 LATIN CAPITAL LETTER O WITH STROKE - _____ @ - / __// @ - | | // |@ - | |//| |@ - | //_| |@ - //___/ @ - @ - @@ -217 LATIN CAPITAL LETTER U WITH GRAVE - __ @ - _\_\_ @ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -218 LATIN CAPITAL LETTER U WITH ACUTE - __ @ - _/_/_ @ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -219 LATIN CAPITAL LETTER U WITH CIRCUMFLEX - //\ @ - |/ \| @ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -220 LATIN CAPITAL LETTER U WITH DIAERESIS - _ _ @ - (_) (_)@ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -221 LATIN CAPITAL LETTER Y WITH ACUTE - __ @ - __/_/__@ - \ \ / /@ - \ V / @ - | | @ - |_| @ - @ - @@ -222 LATIN CAPITAL LETTER THORN - _ @ - | |___ @ - | __ \ @ - | |__) |@ - | ___/ @ - |_| @ - @ - @@ -223 LATIN SMALL LETTER SHARP S - ___ @ - / _ \ @ - | | ) |@ - | |< < @ - | | ) |@ - | ||_/ @ - |_| @ - @@ -224 LATIN SMALL LETTER A WITH GRAVE - __ @ - \_\ @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -225 LATIN SMALL LETTER A WITH ACUTE - __ @ - /_/ @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -226 LATIN SMALL LETTER A WITH CIRCUMFLEX - //\ @ - |/ \| @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -227 LATIN SMALL LETTER A WITH TILDE - /\/| @ - |/\/ @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -228 LATIN SMALL LETTER A WITH DIAERESIS - _ _ @ - (_) (_)@ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -229 LATIN SMALL LETTER A WITH RING ABOVE - __ @ - (()) @ - __ _ @ - / _` |@ - | (_| |@ - \__,_|@ - @ - @@ -230 LATIN SMALL LETTER AE - @ - @ - __ ____ @ - / _` _ \@ - | (_| __/@ - \__,____|@ - @ - @@ -231 LATIN SMALL LETTER C WITH CEDILLA - @ - @ - ___ @ - / __|@ - | (__ @ - \___|@ - )_) @ - @@ -232 LATIN SMALL LETTER E WITH GRAVE - __ @ - \_\ @ - ___ @ - / _ \@ - | __/@ - \___|@ - @ - @@ -233 LATIN SMALL LETTER E WITH ACUTE - __ @ - /_/ @ - ___ @ - / _ \@ - | __/@ - \___|@ - @ - @@ -234 LATIN SMALL LETTER E WITH CIRCUMFLEX - //\ @ - |/ \|@ - ___ @ - / _ \@ - | __/@ - \___|@ - @ - @@ -235 LATIN SMALL LETTER E WITH DIAERESIS - _ _ @ - (_) (_)@ - ___ @ - / _ \ @ - | __/ @ - \___| @ - @ - @@ -236 LATIN SMALL LETTER I WITH GRAVE - __ @ - \_\@ - _ @ - | |@ - | |@ - |_|@ - @ - @@ -237 LATIN SMALL LETTER I WITH ACUTE - __@ - /_/@ - _ @ - | |@ - | |@ - |_|@ - @ - @@ -238 LATIN SMALL LETTER I WITH CIRCUMFLEX - //\ @ - |/ \|@ - _ @ - | | @ - | | @ - |_| @ - @ - @@ -239 LATIN SMALL LETTER I WITH DIAERESIS - _ _ @ - (_) (_)@ - _ @ - | | @ - | | @ - |_| @ - @ - @@ -240 LATIN SMALL LETTER ETH - /\/\ @ - > < @ - \/\ \ @ - / _` |@ - | (_) |@ - \___/ @ - @ - @@ -241 LATIN SMALL LETTER N WITH TILDE - /\/| @ - |/\/ @ - _ __ @ - | '_ \ @ - | | | |@ - |_| |_|@ - @ - @@ -242 LATIN SMALL LETTER O WITH GRAVE - __ @ - \_\ @ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ -243 LATIN SMALL LETTER O WITH ACUTE - __ @ - /_/ @ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ -244 LATIN SMALL LETTER O WITH CIRCUMFLEX - //\ @ - |/ \| @ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ -245 LATIN SMALL LETTER O WITH TILDE - /\/| @ - |/\/ @ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ -246 LATIN SMALL LETTER O WITH DIAERESIS - _ _ @ - (_) (_)@ - ___ @ - / _ \ @ - | (_) |@ - \___/ @ - @ - @@ -247 DIVISION SIGN - _ @ - (_) @ - _______ @ - |_______|@ - _ @ - (_) @ - @ - @@ -248 LATIN SMALL LETTER O WITH STROKE - @ - @ - ____ @ - / _//\ @ - | (//) |@ - \//__/ @ - @ - @@ -249 LATIN SMALL LETTER U WITH GRAVE - __ @ - \_\ @ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ -250 LATIN SMALL LETTER U WITH ACUTE - __ @ - /_/ @ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ -251 LATIN SMALL LETTER U WITH CIRCUMFLEX - //\ @ - |/ \| @ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ -252 LATIN SMALL LETTER U WITH DIAERESIS - _ _ @ - (_) (_)@ - _ _ @ - | | | |@ - | |_| |@ - \__,_|@ - @ - @@ -253 LATIN SMALL LETTER Y WITH ACUTE - __ @ - /_/ @ - _ _ @ - | | | |@ - | |_| |@ - \__, |@ - __/ |@ - |___/ @@ -254 LATIN SMALL LETTER THORN - _ @ - | | @ - | |__ @ - | '_ \ @ - | |_) |@ - | .__/ @ - | | @ - |_| @@ -255 LATIN SMALL LETTER Y WITH DIAERESIS - _ _ @ - (_) (_)@ - _ _ @ - | | | |@ - | |_| |@ - \__, |@ - __/ |@ - |___/ @@ -0x02BC MODIFIER LETTER APOSTROPHE - @ - @ - ))@ - @ - @ - @ - @ - @@ -0x02BD MODIFIER LETTER REVERSED COMMA - @ - @ - ((@ - @ - @ - @ - @ - @@ -0x037A GREEK YPOGEGRAMMENI - @ - @ - @ - @ - @ - @ - @ - ||@@ -0x0387 GREEK ANO TELEIA - @ - $ @ - _ @ - (_)@ - @ - $ @ - @ - @@ -0x0391 GREEK CAPITAL LETTER ALPHA - ___ @ - / _ \ @ - | |_| |@ - | _ |@ - | | | |@ - |_| |_|@ - @ - @@ -0x0392 GREEK CAPITAL LETTER BETA - ____ @ - | _ \ @ - | |_) )@ - | _ ( @ - | |_) )@ - |____/ @ - @ - @@ -0x0393 GREEK CAPITAL LETTER GAMMA - _____ @ - | ___)@ - | |$ @ - | |$ @ - | | @ - |_| @ - @ - @@ -0x0394 GREEK CAPITAL LETTER DELTA - @ - /\ @ - / \ @ - / /\ \ @ - / /__\ \ @ - /________\@ - @ - @@ -0x0395 GREEK CAPITAL LETTER EPSILON - _____ @ - | ___)@ - | |_ @ - | _) @ - | |___ @ - |_____)@ - @ - @@ -0x0396 GREEK CAPITAL LETTER ZETA - ______@ - (___ /@ - / / @ - / / @ - / /__ @ - /_____)@ - @ - @@ -0x0397 GREEK CAPITAL LETTER ETA - _ _ @ - | | | |@ - | |_| |@ - | _ |@ - | | | |@ - |_| |_|@ - @ - @@ -0x0398 GREEK CAPITAL LETTER THETA - ____ @ - / __ \ @ - | |__| |@ - | __ |@ - | |__| |@ - \____/ @ - @ - @@ -0x0399 GREEK CAPITAL LETTER IOTA - ___ @ - ( )@ - | | @ - | | @ - | | @ - (___)@ - @ - @@ -0x039A GREEK CAPITAL LETTER KAPPA - _ __@ - | | / /@ - | |/ / @ - | < @ - | |\ \ @ - |_| \_\@ - @ - @@ -0x039B GREEK CAPITAL LETTER LAMDA - @ - /\ @ - / \ @ - / /\ \ @ - / / \ \ @ - /_/ \_\@ - @ - @@ -0x039C GREEK CAPITAL LETTER MU - __ __ @ - | \ / |@ - | v |@ - | |\_/| |@ - | | | |@ - |_| |_|@ - @ - @@ -0x039D GREEK CAPITAL LETTER NU - _ _ @ - | \ | |@ - | \| |@ - | |@ - | |\ |@ - |_| \_|@ - @ - @@ -0x039E GREEK CAPITAL LETTER XI - _____ @ - (_____)@ - ___ @ - (___) @ - _____ @ - (_____)@ - @ - @@ -0x039F GREEK CAPITAL LETTER OMICRON - ___ @ - / _ \ @ - | | | |@ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -0x03A0 GREEK CAPITAL LETTER PI - _______ @ - ( _ )@ - | | | | @ - | | | | @ - | | | | @ - |_| |_| @ - @ - @@ -0x03A1 GREEK CAPITAL LETTER RHO - ____ @ - | _ \ @ - | |_) )@ - | __/ @ - | | @ - |_| @ - @ - @@ -0x03A3 GREEK CAPITAL LETTER SIGMA - ______ @ - \ ___)@ - \ \ @ - > > @ - / /__ @ - /_____)@ - @ - @@ -0x03A4 GREEK CAPITAL LETTER TAU - _____ @ - (_ _)@ - | | @ - | | @ - | | @ - |_| @ - @ - @@ -0x03A5 GREEK CAPITAL LETTER UPSILON - __ __ @ - (_ \ / _)@ - \ v / @ - | | @ - | | @ - |_| @ - @ - @@ -0x03A6 GREEK CAPITAL LETTER PHI - _ @ - _| |_ @ - / \ @ - ( (| |) )@ - \_ _/ @ - |_| @ - @ - @@ -0x03A7 GREEK CAPITAL LETTER CHI - __ __@ - \ \ / /@ - \ v / @ - > < @ - / ^ \ @ - /_/ \_\@ - @ - @@ -0x03A8 GREEK CAPITAL LETTER PSI - _ _ _ @ - | || || |@ - | \| |/ |@ - \_ _/ @ - | | @ - |_| @ - @ - @@ -0x03A9 GREEK CAPITAL LETTER OMEGA - ____ @ - / __ \ @ - | | | | @ - | | | | @ - _\ \/ /_ @ - (___||___)@ - @ - @@ -0x03B1 GREEK SMALL LETTER ALPHA - @ - @ - __ __@ - / \/ /@ - ( () < @ - \__/\_\@ - @ - @@ -0x03B2 GREEK SMALL LETTER BETA - ___ @ - / _ \ @ - | |_) )@ - | _ < @ - | |_) )@ - | __/ @ - | | @ - |_| @@ -0x03B3 GREEK SMALL LETTER GAMMA - @ - @ - _ _ @ - ( \ / )@ - \ v / @ - | | @ - | | @ - |_| @@ -0x03B4 GREEK SMALL LETTER DELTA - __ @ - / _) @ - \ \ @ - / _ \ @ - ( (_) )@ - \___/ @ - @ - @@ -0x03B5 GREEK SMALL LETTER EPSILON - @ - @ - ___ @ - / __)@ - > _) @ - \___)@ - @ - @@ -0x03B6 GREEK SMALL LETTER ZETA - _____ @ - \__ ) @ - / / @ - / / @ - | |__ @ - \__ \ @ - ) )@ - (_/ @@ -0x03B7 GREEK SMALL LETTER ETA - @ - @ - _ __ @ - | '_ \ @ - | | | |@ - |_| | |@ - | |@ - |_|@@ -0x03B8 GREEK SMALL LETTER THETA - ___ @ - / _ \ @ - | |_| |@ - | _ |@ - | |_| |@ - \___/ @ - @ - @@ -0x03B9 GREEK SMALL LETTER IOTA - @ - @ - _ @ - | | @ - | | @ - \_)@ - @ - @@ -0x03BA GREEK SMALL LETTER KAPPA - @ - @ - _ __@ - | |/ /@ - | < @ - |_|\_\@ - @ - @@ -0x03BB GREEK SMALL LETTER LAMDA - __ @ - \ \ @ - \ \ @ - > \ @ - / ^ \ @ - /_/ \_\@ - @ - @@ -0x03BC GREEK SMALL LETTER MU - @ - @ - _ _ @ - | | | |@ - | |_| |@ - | ._,_|@ - | | @ - |_| @@ -0x03BD GREEK SMALL LETTER NU - @ - @ - _ __@ - | |/ /@ - | / / @ - |__/ @ - @ - @@ -0x03BE GREEK SMALL LETTER XI - \=\__ @ - > __) @ - ( (_ @ - > _) @ - ( (__ @ - \__ \ @ - ) )@ - (_/ @@ -0x03BF GREEK SMALL LETTER OMICRON - @ - @ - ___ @ - / _ \ @ - ( (_) )@ - \___/ @ - @ - @@ -0x03C0 GREEK SMALL LETTER PI - @ - @ - ______ @ - ( __ )@ - | || | @ - |_||_| @ - @ - @@ -0x03C1 GREEK SMALL LETTER RHO - @ - @ - ___ @ - / _ \ @ - | |_) )@ - | __/ @ - | | @ - |_| @@ -0x03C2 GREEK SMALL LETTER FINAL SIGMA - @ - @ - ____ @ - / ___)@ - ( (__ @ - \__ \ @ - _) )@ - (__/ @@ -0x03C3 GREEK SMALL LETTER SIGMA - @ - @ - ____ @ - / ._)@ - ( () ) @ - \__/ @ - @ - @@ -0x03C4 GREEK SMALL LETTER TAU - @ - @ - ___ @ - ( )@ - | | @ - \_)@ - @ - @@ -0x03C5 GREEK SMALL LETTER UPSILON - @ - @ - _ _ @ - | | | |@ - | |_| |@ - \___/ @ - @ - @@ -0x03C6 GREEK SMALL LETTER PHI - _ @ - | | @ - _| |_ @ - / \ @ - ( (| |) )@ - \_ _/ @ - | | @ - |_| @@ -0x03C7 GREEK SMALL LETTER CHI - @ - @ - __ __@ - \ \ / /@ - \ v / @ - > < @ - / ^ \ @ - /_/ \_\@@ -0x03C8 GREEK SMALL LETTER PSI - @ - @ - _ _ _ @ - | || || |@ - | \| |/ |@ - \_ _/ @ - | | @ - |_| @@ -0x03C9 GREEK SMALL LETTER OMEGA - @ - @ - __ __ @ - / / _ \ \ @ - | |_/ \_| |@ - \___^___/ @ - @ - @@ -0x03D1 GREEK THETA SYMBOL - ___ @ - / _ \ @ - ( (_| |_ @ - _ \ _ _)@ - | |___| | @ - \_____/ @ - @ - @@ -0x03D5 GREEK PHI SYMBOL - @ - @ - _ __ @ - | | / \ @ - | || || )@ - \_ _/ @ - | | @ - |_| @@ -0x03D6 GREEK PI SYMBOL - @ - @ - _________ @ - ( _____ )@ - | |_/ \_| |@ - \___^___/ @ - @ - @@ -0x0005 -alpha = a, beta = b, gamma = g, delta = d, epsilon = e @ -zeta = z, eta = h, theta = q, iota = i, lamda = l, mu = m@ -nu = n, xi = x, omicron = o, pi = p, rho = r, sigma = s @ -phi = f, chi = c, psi = y, omega = w, final sigma = V @ - pi symbol = v, theta symbol = J, phi symbol = j @ - middle dot = :, ypogegrammeni = _ @ - rough breathing = (, smooth breathing = ) @ - acute accent = ', grave accent = `, dialytika = ^ @@ diff --git a/src/Components/Logo/stubs/logo.php b/src/Components/Logo/stubs/logo.php deleted file mode 100644 index 5a5a03b4..00000000 --- a/src/Components/Logo/stubs/logo.php +++ /dev/null @@ -1,84 +0,0 @@ - true, - - /* - |-------------------------------------------------------------------------- - | Logo Name - |-------------------------------------------------------------------------- - | - | This value determines the text that is rendered for the logo. - | It defaults to the app name, but it can be any other text - | value if the logo should be different to the app name. - | - */ - 'name' => config('app.name'), - - /* - |-------------------------------------------------------------------------- - | Default Font - |-------------------------------------------------------------------------- - | - | This option defines the font which should be used for rendering. - | By default, one default font is shipped. However, you are free - | to download and use additional fonts: http://www.figlet.org. - | - */ - - 'font' => \LaravelZero\Framework\Components\Logo\FigletString::DEFAULT_FONT, - - /* - |-------------------------------------------------------------------------- - | Output Width - |-------------------------------------------------------------------------- - | - | This option defines the maximum width of the output string. This is - | used for word-wrap as well as justification. Be careful when using - | small values, because they may result in an undefined behavior. - | - */ - - 'outputWidth' => 80, - - /* - |-------------------------------------------------------------------------- - | Justification - |-------------------------------------------------------------------------- - | - | This option defines the justification of the logo text. By default, - | justification is provided, which will work well on most of your - | console apps. Of course, you are free to change this value. - | - */ - - 'justification' => null, - - /* - |-------------------------------------------------------------------------- - | Right To Left - |-------------------------------------------------------------------------- - | - | This option defines the option in which the text is written. By, default - | the setting of the font-file is used. When justification is not defined, - | a text written from right-to-left is automatically right-aligned. - | - | Possible values: "right-to-left", "left-to-right", null - | - */ - - 'rightToLeft' => null, - -]; diff --git a/tests/Components/LogoInstallTest.php b/tests/Components/LogoInstallTest.php deleted file mode 100644 index 4398cdee..00000000 --- a/tests/Components/LogoInstallTest.php +++ /dev/null @@ -1,33 +0,0 @@ -createMock(ComposerContract::class); - - $composerMock->expects($this->once()) - ->method('require') - ->with('laminas/laminas-text "^2.10"'); - - $this->app->instance(ComposerContract::class, $composerMock); - - Artisan::call('app:install', ['component' => 'logo']); -}); - -it('copies the required stubs', function () { - $composerMock = $this->createMock(ComposerContract::class); - $composerMock->method('require'); - $this->app->instance(ComposerContract::class, $composerMock); - - Artisan::call('app:install', ['component' => 'logo']); - - expect(File::exists(config_path('logo.php')))->toBeTrue(); -});