jacksleight/lazy-logo

This package is abandoned and no longer maintained. The author suggests using the jacksleight/statamic-lazy-logo package instead.
There is no license information available for the latest version (0.2.1) of this package.

0.2.1 2021-09-21 11:23 UTC

This package is auto-updated.

Last update: 2021-10-22 11:18:55 UTC


README

Statamic Packagist version License

Lazy Logo

This Statamic addon automatically generates a control panel logo image based on the application name. Useful if you need a quick way to see which site you're editing at a glance. You can also configure the text and styles, allowing you to use different values in different environments for example.

Important: This addon uses Statamic's white labeling feature, which is Pro only. Therefore this addon will only work with the Pro edition.

Installation

Install the addon using Composer:

composer require jacksleight/lazy-logo

Set the custom_logo_url in config/statamic/cp.php to /!/lazy-logo.svg:

'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', '/!/lazy-logo.svg'),

That's it!

Configuration

By default the text will be the APP_NAME environment variable, and it'll be styled to match the CP text. If you want to customise it you can publish and edit the config:

php please vendor:publish --tag=lazy-logo-config

Then open config/lazy-logo.php and make your changes.