PHPackages                             efrontsa/blueprint-nova-addon - 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. efrontsa/blueprint-nova-addon

ActiveLibrary

efrontsa/blueprint-nova-addon
=============================

v2.0.0(3y ago)0291MITPHP

Since Apr 17Pushed 3y agoCompare

[ Source](https://github.com/algethamy/blueprint-nova-addon)[ Packagist](https://packagist.org/packages/efrontsa/blueprint-nova-addon)[ Docs](https://github.com/naoray/blueprint-nova-addon)[ GitHub Sponsors](https://github.com/Naoray)[ RSS](/packages/efrontsa-blueprint-nova-addon/feed)WikiDiscussions master Synced today

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

Blueprint Nova Addon
====================

[](#blueprint-nova-addon)

[![Build Status](https://camo.githubusercontent.com/862624c1d19b855aec13b5c05e2645e5b69a5816dcb525ef7e52212876bc3620/68747470733a2f2f7472617669732d63692e6f72672f4e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/862624c1d19b855aec13b5c05e2645e5b69a5816dcb525ef7e52212876bc3620/68747470733a2f2f7472617669732d63692e6f72672f4e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f6272616e63683d6d6173746572)[![Total Downloads](https://camo.githubusercontent.com/4f9751c292279d4e2e74a980b882b145f0d858fb60aea494185728674a80a245/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/naoray/blueprint-nova-addon)

📣 Shoutout to [Jason McCreary](https://github.com/jasonmccreary) whose [Blueprint](https://github.com/laravel-shift/blueprint) package lays the groundwork for this small addon. Thank you Jason 🙌

Installing this addon will allow you to generate your Nova resources with the `php artisan blueprint:build` command.

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

[](#installation)

You can install this package and **Blueprint** via composer:

```
composer require --dev naoray/blueprint-nova-addon
```

> ⚠️ You need to have [laravel nova](https://nova.laravel.com/) installed in order for the resource generation to take place!

Usage
-----

[](#usage)

Refer to [Blueprint's Basic Usage](https://github.com/laravel-shift/blueprint#basic-usage) to get started. Afterwards you can run the `blueprint:build` command to generate Nova resources automatically. To get an idea of how easy it is you can use the example `draft.yaml` file below.

```
# draft.yaml
models:
  Post:
    author_id: id foreign:users
    title: string:400
    content: longtext
    published_at: nullable timestamp
    relationships:
      HasMany: Comment

  Comment:
    post_id: id foreign
    content: longtext
    published_at: nullable timestamp
```

From these 13 lines of YAML, this addon will generate 2 Nova resources which are pre-filled with 14 fields.

```
// App/Nova/Comment.php
public function fields(Request $request)
{
    return [
        ID::make()->sortable(),

        Textarea::make('Content')
            ->rules('required', 'string'),

        DateTime::make('Published at'),

        BelongsTo::make('Post'),

        DateTime::make('Created at'),
        DateTime::make('Updated at'),
    ];
}

// App/Nova/Post.php
public function fields(Request $request)
{
    return [
        ID::make()->sortable(),

        Text::make('Title')
            ->rules('required', 'string', 'max:400'),

        Textarea::make('Content')
            ->rules('required', 'string'),

        DateTime::make('Published at'),

        BelongsTo::make('Author', 'author', User::class),

        HasMany::make('Comments'),

        DateTime::make('Created at'),
        DateTime::make('Updated at'),
    ];
}
```

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

[](#configuration)

You may publish the configuration with the following command:

```
php artisan vendor:publish --tag=nova_blueprint
```

### Timestamp fields

[](#timestamp-fields)

To disable the generation of `timestamp` fields for all Nova resources set this option to `false`.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Krishan König](https://github.com/naoray)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 70.1% 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 ~139 days

Recently: every ~266 days

Total

9

Last Release

1150d ago

Major Versions

v1.3.3 → v2.0.02023-05-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/545ac5f8546ec191c3b59dba187745f010f346788c48518282844b8036fda9df?d=identicon)[efrontsa](/maintainers/efrontsa)

---

Top Contributors

[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (61 commits)")[![wotta](https://avatars.githubusercontent.com/u/13332240?v=4)](https://github.com/wotta "wotta (11 commits)")[![jyrkidn](https://avatars.githubusercontent.com/u/2447042?v=4)](https://github.com/jyrkidn "jyrkidn (8 commits)")[![algethamy](https://avatars.githubusercontent.com/u/9952761?v=4)](https://github.com/algethamy "algethamy (5 commits)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")

---

Tags

naorayblueprint-nova-addon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/efrontsa-blueprint-nova-addon/health.svg)

```
[![Health](https://phpackages.com/badges/efrontsa-blueprint-nova-addon/health.svg)](https://phpackages.com/packages/efrontsa-blueprint-nova-addon)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.2k](/packages/larastan-larastan)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M625](/packages/spatie-laravel-medialibrary)[illuminate/queue

The Illuminate Queue package.

21332.6M1.5k](/packages/illuminate-queue)[illuminate/routing

The Illuminate Routing package.

1419.2M3.0k](/packages/illuminate-routing)[illuminate/bus

The Illuminate Bus package.

6046.3M539](/packages/illuminate-bus)[laravel/folio

Page based routing for Laravel.

603583.7k32](/packages/laravel-folio)

PHPackages © 2026

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