PHPackages                             wqa/nova-page-flexible-models - 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. [Admin Panels](/categories/admin)
4. /
5. wqa/nova-page-flexible-models

ActiveLibrary[Admin Panels](/categories/admin)

wqa/nova-page-flexible-models
=============================

A Laravel Nova package to allow relating models as flexible content to pages

v1.4.0(4y ago)2381MITPHP

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wearewqa/nova-page-flexible-models)[ Packagist](https://packagist.org/packages/wqa/nova-page-flexible-models)[ RSS](/packages/wqa-nova-page-flexible-models/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (7)Used By (0)

Nova Page Flexible Models
=========================

[](#nova-page-flexible-models)

A package for Laravel Nova which extends [Nova Page](https://github.com/whitecube/nova-page) and [Nova Flexible Content](https://github.com/whitecube/nova-flexible-content) and enables you to relate Laravel models to your Nova Pages using Flexible Content.

[![Testimonials example](https://raw.githubusercontent.com/WQA-Ltd/nova-page-flexible-models/master/readme-assets/testimonials-screenshot.png)](https://raw.githubusercontent.com/WQA-Ltd/nova-page-flexible-models/master/readme-assets/testimonials-screenshot.png)

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

[](#installation)

```
composer require wqa/nova-page-flexible-models
```

Usage
-----

[](#usage)

In your page template class you must include the `HasFlexibleModels` trait.

To add a flexible model field, use the `addFlexibleModelField` method in your fields definition.

You can use the `getFlexibleModels` method to get the models back from the page. It's useful to do this using a helper method as shown below to keep your blade files clean.

```
class AboutPage extends Template
{
    use WQA\NovaPageFlexibleModels\HasFlexibleModels;

    public function fields(Request $request)
    {
        return [
            Panel::make('Tesimonials', [
                $this->addFlexibleModelField('Testimonials', 'testimonials', Testimonial::class, 'author'),
            ])
        ];
    }

    public function testimonials(): Collection
    {
        return $this->getFlexibleModels('testimonials', Testimonial::class);
    }
}
```

To access the testimonials in a blade view you can call the helper method as above which will give you a collection of whichever model you have specified.

```
@foreach (Page::testimonials() as $testimonial)

        {{ $testimonial->body }}
        {{ $testimonial->author }}

@endforeach
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~122 days

Total

6

Last Release

1485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/487559f7d72ea2a4a963dc9dc0764ac35a8583b05d0afec5322539510a4fe82e?d=identicon)[BenSampo](/maintainers/BenSampo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wqa-nova-page-flexible-models/health.svg)

```
[![Health](https://phpackages.com/badges/wqa-nova-page-flexible-models/health.svg)](https://phpackages.com/packages/wqa-nova-page-flexible-models)
```

###  Alternatives

[optimistdigital/nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.

298915.9k3](/packages/optimistdigital-nova-settings)[whitecube/nova-page

Static pages content management for Laravel Nova

23997.1k1](/packages/whitecube-nova-page)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[optimistdigital/nova-table-field

Table field for Laravel Nova

40132.7k](/packages/optimistdigital-nova-table-field)[outl1ne/nova-table-field

Table field for Laravel Nova

4070.5k](/packages/outl1ne-nova-table-field)[khalin/nova-link-field

A Laravel Nova Link field.

31587.5k2](/packages/khalin-nova-link-field)

PHPackages © 2026

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