PHPackages                             qinst64/easy-login - 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. qinst64/easy-login

ActiveLibrary

qinst64/easy-login
==================

A material design layer added before any webpage to request login with password

019PHP

Since Jan 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/qinst64/easy-login)[ Packagist](https://packagist.org/packages/qinst64/easy-login)[ RSS](/packages/qinst64-easy-login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### easy-login

[](#easy-login)

A **material design** layer added before any webpage to request login with password.

Very easy to use with only several lines of code.

### Features

[](#features)

- Light and easy to use with only several lines of code
- Material design interface, friendly to both pc and phone
- Support multiple users, valid durations, background image etc

### How to use

[](#how-to-use)

1. prepare php library

    - method 1

        Copy "EasyLogin.php" to your local

        Then use:

        ```
        include 'folder-to-file/EasyLogin.php';
        ```
    - method 2

        Install through composer

        `composer require qinst64/easy-login dev-master`

        Then use:

        ```
        require 'folder-to-file/autoload.php';
        ```
2. add the following code at the top of your entry php (e.g. index.php)

    ```
    //config options
    $opts = array(
        'id_entry' => 'duSWnS1sW',
        'title' => 'Login',
        'usr_pwd' => array('usr1'=>'pwd1','usr2'=>'pwd2'),
        'duration' => 5,
        'background_img'=> 'login_bg.jpg',
    );
    //request EasyLogin
    (new EasyLogin($opts))->login();//or (new EasyLogin())->set($opts)->login();
    ```

**Options explained**

`id_entry` differentiate multiple entries, use random string (required)

`title` Title shown in page, default is 'Login'

`usr_pwd` username and password pairs (at least one required)

`duration` how long (hours) to make it valid (default: 72 )

`background_img` background image (default: NULL)

### Tips:

[](#tips)

- Two webpages with the same 'id\_entry' if you want to visit both pages by only login once
- Change 'id\_entry' vaule to make existing login invalid

### Live demo

[](#live-demo)

[demo here](http://qinst64.duckdns.org/easy-login/)

note: users and passwords as above.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e62156b4a82d29a91997b4a3ea6bb6751056fb11fb91b9a50b75a4261215e355?d=identicon)[qinst64](/maintainers/qinst64)

---

Top Contributors

[![qinst64](https://avatars.githubusercontent.com/u/16003088?v=4)](https://github.com/qinst64 "qinst64 (2 commits)")

### Embed Badge

![Health badge](/badges/qinst64-easy-login/health.svg)

```
[![Health](https://phpackages.com/badges/qinst64-easy-login/health.svg)](https://phpackages.com/packages/qinst64-easy-login)
```

PHPackages © 2026

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