PHPackages                             marspress/wp-login-skin - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. marspress/wp-login-skin

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marspress/wp-login-skin
=======================

Utility package to create a simple skin for the wp-login.php in WordPress.

1.0(4y ago)03GPL-2.0PHPPHP &gt;=7.4

Since Dec 10Pushed 4y ago2 watchersCompare

[ Source](https://github.com/MARSWorksInc/wordpress-wp-login-skin)[ Packagist](https://packagist.org/packages/marspress/wp-login-skin)[ RSS](/packages/marspress-wp-login-skin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

MarsPress LoginSkin
===================

[](#marspress-loginskin)

### Installation

[](#installation)

Require the composer package in your composer.json with `marspress/wp-login-skin` with minimum `dev-main` OR run `composer require marspress/wp-login-skin`

### Usage

[](#usage)

`new \MarsPress\LoginSkin\Skin()` takes 2 parameters, both required.

- Theme (required)(\\MarsPress\\LoginSkin\\Skin\_Theme)
    - Controls the colors.
- Logo (required)(\\MarsPress\\LoginSkin\\Skin\_Logo)
    - Controls the logo and its sizing and positioning.

`new \MarsPress\LoginSkin\Skin_Theme` takes 8 parameters, all of them are optional

- Primary Color (optional)(string)
    - Primary accent color. This color is used for various elements such as field borders, checkbox styles, button colors, and anchor hover colors.
    - This can be a hex string or a rgb(a) string.
    - Defaults to `#32373E`.
- Text Color (optional)(string)
    - Text color.
    - This can be a hex string or a rgb(a) string.
    - Defaults to `#000000`.
- Button Color (optional)(string)
    - Button hover color.
    - This can be a hex string or a rgb(a) string.
    - Defaults to `#FFFFFF`.
- Box Shadow (optional)(string)
    - Box shadow color for the main Login box.
    - This can be a hex string or a rgb(a) string.
    - Defaults to `rgba(0,0,0,0.5)`.
- Box Color (optional)(string)
    - Background color for the main Login box.
    - This can be a hex string or a rgb(a) string.
    - Defaults to `rgba(255,255,255,0.9)`.
- Background Color (optional)(string)
    - Background color for the body of the wp-login.php
    - This can be a hex string or a rgb(a) string.
    - Defaults to `#39414d`.
- Background Image (optional)(string)
    - Background image for the body of the wp-login.php
    - This can absolute or relative URL.
    - Defaults to `null`.
    - The size is always set to `cover`.
- Background Position (optional)(string)
    - Background image position for the body of the wp-login.php
    - Defaults to `50% 50%`.

`new \MarsPress\LoginSkin\Skin_Logo` takes 5 parameters, all of them are optional

- Image URL (optional)(string)
    - Image for the logo.
    - This can absolute or relative URL.
    - Defaults to `\admin_url('images/wordpress-logo.svg')`.
- Width (optional)(int)
    - Width of the image container. Although this is not used that much and has little affect. Recommend to leave as default.
    - This is in pixel values.
    - Defaults to `84`.
- Height (optional)(int)
    - Height of the image container.
    - This is in pixel values.
    - Defaults to `84`.
- Background Size (optional)(int)
    - Size of the image. Use this to make the logo larger or smaller within the container.
    - This is in pixel values.
    - Defaults to `84`.
- Padding Top (optional)(int)
    - Top padding of the image container. As the image is actually a background image, this can be considered the aspect ratio.
    - This is in pixel values.
    - Defaults to `30`.

#### Example

[](#example)

The most basic usage is to just initialize the `Skin_Theme` and `Skin_Logo` with their default values:

```
new \MarsPress\LoginSkin\Skin(
    new \MarsPress\LoginSkin\Skin_Theme(),
    new \MarsPress\LoginSkin\Skin_Logo()
);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adcbfb731b685a8b219008c6c3673b843a0c9aa66c4b6d2a2c1ab03eef959f08?d=identicon)[martian-jesse](/maintainers/martian-jesse)

---

Top Contributors

[![martian-jesse](https://avatars.githubusercontent.com/u/86261906?v=4)](https://github.com/martian-jesse "martian-jesse (2 commits)")

### Embed Badge

![Health badge](/badges/marspress-wp-login-skin/health.svg)

```
[![Health](https://phpackages.com/badges/marspress-wp-login-skin/health.svg)](https://phpackages.com/packages/marspress-wp-login-skin)
```

###  Alternatives

[ccinn/husky-php

Similar to js-husky client git hook implementation

6827.0k1](/packages/ccinn-husky-php)[keios/moneyright

Precise, GAAP-compliant, database-friendly Money Value Object

2055.5k1](/packages/keios-moneyright)[lloricode/laravel-html-table

Html table generator for laravel

1561.9k1](/packages/lloricode-laravel-html-table)[lingxi/hashids

A Hashids bridge for Laravel

183.3k](/packages/lingxi-hashids)

PHPackages © 2026

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