PHPackages                             etiennemarais/legit - 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. [API Development](/categories/api)
4. /
5. etiennemarais/legit

ActiveProject[API Development](/categories/api)

etiennemarais/legit
===================

Legit is a simple service for easy Atlas user verification via a unique user identifier.

v1.0.0-beta(10y ago)04[3 PRs](https://github.com/etiennemarais/legit/pulls)PHPPHP &gt;=5.5.9

Since Feb 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/etiennemarais/legit)[ Packagist](https://packagist.org/packages/etiennemarais/legit)[ RSS](/packages/etiennemarais-legit/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (9)Versions (6)Used By (0)

legit
=====

[](#legit)

Installation
------------

[](#installation)

If you don't have homestead installed yet, please follow the instructions laid out in the Laravel documentation and pull the vagrant box down for development,

#### Homestead config

[](#homestead-config)

```
---
ip: "192.168.10.10"
memory: 4096
cpus: 4
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Documents/workspace/Projects
      to: /home/vagrant/Code
      type: "nfs"

sites:
    - map: legit.app
      to: /home/vagrant/Code/Legit/public

databases:
    - homestead
    - drivelog
    - cruxcoaches
    - legit

variables:
    - key: 'APP_ENV'
      value: 'local'
    - key: 'APP_DEBUG'
      value: 'true'

```

#### Install

[](#install)

Run the commands on your local. Clone the repo into your mapped folder for vagrant(see above homestead)

```
git clone https://github.com/olx-ssafrica/legit.git

```

```
composer install

```

Write local environment into the project root. See `.env.example`

```
cat > .env APP_DEBUG=true
>APP_KEY=SomeRandomKey!!!
>DB_CONNECTION=mysql
>DB_HOST=192.168.10.10
>DB_PORT=3306
>DB_DATABASE=legit
>DB_USERNAME=homestead
>DB_PASSWORD=secret
>CACHE_DRIVER=memcached
>QUEUE_DRIVER=sync
>SMS_GATEWAY_DRIVER=
>SMS_GATEWAY_API_ID=
>SMS_GATEWAY_USER=
>SMS_GATEWAY_PASS=
>OTP_LENTGH=6
>OTP_ONLYNUMBERS=true
>CACHE_DRIVER=memcached
>QUEUE_DRIVER=database
>QUEUE_RETRY_TIMEOUT=3
>SLACK_WEBHOOK_URL=
>EOF

```

```
php artisan migrate

```

```
php artisan db:seed

```

### Authorization

[](#authorization)

All api requests need an auth header to run otherwise you will get a 401 error. If you want to change the default country you can do so in your seed files where it sets up a basic country.

```
Authorization: Token apikeysouthafrica

```

### Actual API keys for regions

[](#actual-api-keys-for-regions)

Setup actual API keys by running this command

`php artisan key:generate --show`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.8% 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

3750d ago

### Community

Maintainers

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

---

Top Contributors

[![etiennemarais](https://avatars.githubusercontent.com/u/4479918?v=4)](https://github.com/etiennemarais "etiennemarais (85 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

apimobile-verificationlegit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/etiennemarais-legit/health.svg)

```
[![Health](https://phpackages.com/badges/etiennemarais-legit/health.svg)](https://phpackages.com/packages/etiennemarais-legit)
```

###  Alternatives

[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.0k](/packages/showdoc-showdoc)[darkaonline/swagger-lume

OpenApi or Swagger integration to Lumen

3372.3M3](/packages/darkaonline-swagger-lume)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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