PHPackages                             lopatin96/laravel-pages - 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. lopatin96/laravel-pages

AbandonedLibrary

lopatin96/laravel-pages
=======================

Laravel pages

1.0.34(1y ago)06.8kMITBladePHP &gt;=8.0

Since Nov 19Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (36)Used By (0)

Install
=======

[](#install)

### Migrations

[](#migrations)

Run migrations:

```
php artisan migrate
```

### Middleware

[](#middleware)

Add PageGateChecker middleware to middleware array in *app/Http/Kernel.php*:

```
  protected $middleware = [
        …
        \Atin\LaravelPages\Http\Middleware\PagesGateChecker::class,
        \Atin\LaravelPages\Http\Middleware\PersonalisedPage::class,
    ];
```

### Folders

[](#folders)

For each page create a folder. For example, for `index.php` page create `app/resources/views/pages/index` folder.

### Config

[](#config)

#### Variables

[](#variables)

Specify main variables (main colors, etc.)

```
'header_path' => 'sections.header',
    'footer_path' => 'sections.footer',

    // Colors; Add all values to tailwind.config.js as `safelist` under `module.exports`
    'gradient_from' => 'from-zinc-100',
    'gradient_to' => 'to-emerald-300',

    'text_color_primary' => 'text-emerald-400',
    'text_color_secondary' => 'text-emerald-200',

    'bg_color_primary' => 'bg-emerald-400',
    'bg_color_secondary' => 'bg-emerald-200',

    'color_primary_hex' => '#34d399',
    'color_secondary_hex' => '#a7f3d0',

    'main_button_color' => 'bg-gray-950',
…
```

#### Pages

[](#pages)

Specify which sections your page contain.

```
…
'pages' => [
    'index' => [
        'sections' => [
            'main' => [
                'name' => 'main',
            ],
            'others' => [
                [
                    'name' => 'how-it-works',
                ],
                [
                    'name' => 'stats',
                ],
            ]
        ]
    ]
…
```

Publishing
==========

[](#publishing)

### Migrations

[](#migrations-1)

```
php artisan vendor:publish --tag="laravel-pages-migrations"
```

### Localization

[](#localization)

```
php artisan vendor:publish --tag="laravel-pages-lang"
```

### Views

[](#views)

```
php artisan vendor:publish --tag="laravel-pages-views"
```

### Config

[](#config-1)

```
php artisan vendor:publish --tag="laravel-pages-config"
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance43

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~13 days

Recently: every ~27 days

Total

35

Last Release

452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ed7ade2d44e2f66eedf7dec7136ca591145f77d8192bdd789e04797c575d0f3?d=identicon)[Vladyslav Lopatin](/maintainers/Vladyslav%20Lopatin)

---

Top Contributors

[![lopatin96](https://avatars.githubusercontent.com/u/18104593?v=4)](https://github.com/lopatin96 "lopatin96 (47 commits)")

### Embed Badge

![Health badge](/badges/lopatin96-laravel-pages/health.svg)

```
[![Health](https://phpackages.com/badges/lopatin96-laravel-pages/health.svg)](https://phpackages.com/packages/lopatin96-laravel-pages)
```

###  Alternatives

[yorcreative/laravel-urlshortener

A laravel url shortener package that provides internal url redirects with passwords, url expirations, open limits before expiration and click tracking out of the box.

12011.0k](/packages/yorcreative-laravel-urlshortener)[ikechukwukalu/requirepin

A laravel package for pin confirmation and validation before processing requests to a specified route

24910.5k1](/packages/ikechukwukalu-requirepin)

PHPackages © 2026

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