PHPackages                             phillipsharring/handlr-module-landing - 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. phillipsharring/handlr-module-landing

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

phillipsharring/handlr-module-landing
=====================================

Landing page module for handlr apps -- email capture and coming-soon page

0.3.2(3w ago)04MITPHPPHP &gt;=8.4

Since Apr 23Pushed 3w agoCompare

[ Source](https://github.com/phillipsharring/handlr-module-landing)[ Packagist](https://packagist.org/packages/phillipsharring/handlr-module-landing)[ RSS](/packages/phillipsharring-handlr-module-landing/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

handlr-module-landing
=====================

[](#handlr-module-landing)

[![Handlr](handlr.png)](handlr.png)

Landing page module for [handlr](https://github.com/phillipsharring/handlr-backend)/[handlr](https://github.com/phillipsharring/handlr-frontend) apps. Provides a "coming soon" email capture page and admin list.

Install
-------

[](#install)

```
composer require phillipsharring/handlr-module-landing
```

One package. Composer installs both the PHP backend (service provider, handlers, migration) and the frontend assets (pages, components, JS module definition).

Setup
-----

[](#setup)

Two lines to connect:

**1. Register the service provider** in `backend/app/config.php`:

```
'providers' => [
    // ...
    Handlr\Module\Landing\LandingServiceProvider::class,
],
```

**2. Register the frontend module** in `frontend/site.config.js`:

```
import { landing } from '../backend/vendor/phillipsharring/handlr-module-landing/src/index.js';

export default {
    // ...
    modules: [landing],
};
```

**3. Run the migration** to create the `email_captures` table:

```
composer run migrate
```

What's included
---------------

[](#whats-included)

### Backend

[](#backend)

- `POST /api/public/email-capture` -- captures an email address (public, no auth required)
- `GET /api/admin/email-captures` -- lists all captured emails (admin only)
- `email_captures` table migration (auto-discovered via `migrationPaths()`)

### Frontend

[](#frontend)

- `/landing/` page with email capture form
- Module object with self-resolving `pagesDir` and `componentsDir` for handlr-build

Configuration
-------------

[](#configuration)

Override defaults with `configure()` from `@phillipsharring/handlr-build`:

```
import { configure } from '@phillipsharring/handlr-build/modules';
import { landing } from '../backend/vendor/phillipsharring/handlr-module-landing/src/index.js';

export default {
    modules: [
        configure(landing, { adminNav: false }),
    ],
};
```

Removal
-------

[](#removal)

1. Remove `LandingServiceProvider::class` from `config.php`
2. Remove the `landing` import and entry from `site.config.js`
3. `composer remove phillipsharring/handlr-module-landing`
4. Roll back the migration (or drop the `email_captures` table)

Requires
--------

[](#requires)

- `phillipsharring/handlr-backend` &gt;= 0.5
- `@phillipsharring/handlr-build` &gt;= 0.3.0 (for module support in the build system)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance95

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Every ~17 days

Total

5

Last Release

24d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11220?v=4)[Phil Harrington](/maintainers/phillipsharring)[@phillipsharring](https://github.com/phillipsharring)

---

Top Contributors

[![phillipsharring](https://avatars.githubusercontent.com/u/11220?v=4)](https://github.com/phillipsharring "phillipsharring (9 commits)")

### Embed Badge

![Health badge](/badges/phillipsharring-handlr-module-landing/health.svg)

```
[![Health](https://phpackages.com/badges/phillipsharring-handlr-module-landing/health.svg)](https://phpackages.com/packages/phillipsharring-handlr-module-landing)
```

###  Alternatives

[hellonico/acf-country

A country field for ACF.

12196.8k](/packages/hellonico-acf-country)[kirschbaum-development/nova-chartjs

chart.js Chart Field for Laravel Nova

5147.1k](/packages/kirschbaum-development-nova-chartjs)[xobotyi/basen

Text and integers encoding utilities for PHP with no extensions dependencies. Base32, Base58, Base64 and much more!

1220.4k](/packages/xobotyi-basen)

PHPackages © 2026

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