diff --git a/composer.json b/composer.json index bf1f653..4414e37 100644 --- a/composer.json +++ b/composer.json @@ -54,6 +54,7 @@ "illuminate/http": "^7.0 || ^8.0 || ^9.0", "illuminate/translation": "^7.0 || ^8.0 || ^9.0", "illuminate/validation": "^7.0 || ^8.0 || ^9.0", + "laminas/laminas-text": "^2.7", "laravel-zero/framework": "^7.2 || ^8.0 || ^9.0", "marcocesarato/php-conventional-changelog": "^1.16", "mockery/mockery": "^1.3", diff --git a/config/logo.php b/config/logo.php new file mode 100644 index 0000000..908386d --- /dev/null +++ b/config/logo.php @@ -0,0 +1,80 @@ + + * + * This source file is subject to the MIT license that is bundled. + */ + +return [ + /* + |-------------------------------------------------------------------------- + | Enabled + |-------------------------------------------------------------------------- + | + | This value determines if the app name should be represented as an + | ASCII logo. This file provides a sane default location for all + | information concerning the logo and is display customization. + | + */ + + 'enabled' => true, + + /* + |-------------------------------------------------------------------------- + | 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, +];