PHPackages                             zoutapps/laravel-backpack-branding - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. zoutapps/laravel-backpack-branding

ActiveLibrary[CLI &amp; Console](/categories/cli)

zoutapps/laravel-backpack-branding
==================================

Easy CLI for branding your fresh backpack installation

4131PHP

Since May 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zoutapps/laravel-backpack-branding)[ Packagist](https://packagist.org/packages/zoutapps/laravel-backpack-branding)[ RSS](/packages/zoutapps-laravel-backpack-branding/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

laravel-backpack-branding
=========================

[](#laravel-backpack-branding)

[![Latest Version on Packagist](https://camo.githubusercontent.com/10eb09fa28880e9a6aca33fe93f6303c6bc98fd29c9ad9dd8cafd24bae41dfe1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f7574617070732f6c61726176656c2d6261636b7061636b2d6272616e64696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoutapps/laravel-backpack-branding)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9c9a82fc96f27b7922353503ed6785189f5911100ea1c17afddd543501a44fcc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a6f7574617070732f6c61726176656c2d6261636b7061636b2d6272616e64696e672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/zoutapps/laravel-backpack-branding)[![Coverage Status](https://camo.githubusercontent.com/d3a333c9cbc17010e42e23bf7195de21f778e067b915c4145804bcc4a053cefd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7a6f7574617070732f6c61726176656c2d6261636b7061636b2d6272616e64696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zoutapps/laravel-backpack-branding/code-structure)[![Quality Score](https://camo.githubusercontent.com/0f5c2beb168f923088f7aa9842ac4a5720631c482e454ae64ca265b71612ae85/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a6f7574617070732f6c61726176656c2d6261636b7061636b2d6272616e64696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zoutapps/laravel-backpack-branding)[![Total Downloads](https://camo.githubusercontent.com/66d759d2e0904c48ae9ce14be3f82223b8f946b0526854d05386df94f99db429/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f7574617070732f6c61726176656c2d6261636b7061636b2d6272616e64696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zoutapps/laravel-backpack-branding)

This package will easily provide you with all the defaults of a new laravel-backpack installation you need to change in order to brand your backend.

Install
-------

[](#install)

Via Composer

```
$ composer require zoutapps/laravel-backpack-branding
```

Basic Usage
-----------

[](#basic-usage)

Just type the following command in your console.

```
$ php artisan za:brand

```

This will ask you for all the values you can set.

Extended Usage
--------------

[](#extended-usage)

You can store your global defaults as as `json` file if you don't want to enter them on each setup.
We will still ask you for any value we can set that is not provided in the `json` file.
Furthermore you can also define values we currently don't ask for and add/replace them.

To apply your global defaults just use

```
$ php artisan za:brand path/to/your/default.json
```

### Json Format

[](#json-format)

- beneath the `env`-key you can specify values to add/replace in your `.env` file.
- the `config` objects contains the config-file keys that should be touched. We currently only support the `backpack_base` key to specify values that should be replaced in your `config/backpack/base.php`
- next is the `copy` array where you define ann array of objects with `src` and `dest`. For each object all files and folders under the src path (relative to the default.json) will be copied to the dest-path (relative to your project root).
- last is the `branding` object that defines values for the `Branding` facade.

Sample `defaults.json` file:

```
{
  "env": {
    "BACKPACK_LICENSE": "YOUR_BACKPACK_LICENCE_KEY",
    "BACKPACK_REGISTRATION_OPEN": false
  },
  "config": {
    "backpack_base": {
      "project_name": "Your Project Name",
      "logo_lg": "Backpack",
      "logo_mini": "Bp",
      "developer_name": "Oliver Ziegler",
      "developer_link": "https://zoutapps.de",
      "show_powered_by": true,
      "skin": "skin-blue",
      "default_date_format": "d.m.Y",
      "default_datetime_format": "d.m.Y H:i",
      "route_prefix": "admin"
    }
  },
  "copy": [
    {
      "src": "public/vendor",
      "dest": "public/vendor"
    }
  ],
  "branding": {
    "asset": {
      "logo": "public/vendor/logo.png",
      "banner": "public/vendor/banner.png"
    },
    "url": "https://github/zoutapps",
    "developer": "Zout Apps"
  }
}
```

Facade
------

[](#facade)

We provide a `Branding` facade to conveniently access some of your branding values.

Currently implemented are:

- `Branding::asset($key)`: will return the asset url of the file (eg. `Branding::asset('logo')`)
- `Branding::link($content = null, $class = null, $target = null)`: will return an html `` tag with specified values or convenient defaults.
- `Branding::developer()`: returns the developer name specified
- `Branding::url()`: returns the url specified

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Oliver Ziegler](https://github.com/OliverZiegler)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c9a2c2e97d66bd30df7df75183059e218e21ee5d5b80cdcf6542d1a2c60992d?d=identicon)[OliverZiegler](/maintainers/OliverZiegler)

### Embed Badge

![Health badge](/badges/zoutapps-laravel-backpack-branding/health.svg)

```
[![Health](https://phpackages.com/badges/zoutapps-laravel-backpack-branding/health.svg)](https://phpackages.com/packages/zoutapps-laravel-backpack-branding)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
