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

ActiveLibrary

mehmetcansahin/blueprint-nova-addon
===================================

2.1.0(3y ago)124MITPHP

Since Mar 10Pushed 3y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)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

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.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

1107d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fce446f2b50831ecc5f2b3b686026ce49a16184e6c0190811245ee54c92eb4f?d=identicon)[mehmetcan](/maintainers/mehmetcan)

---

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)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")[![mehmetcansahin](https://avatars.githubusercontent.com/u/2010841?v=4)](https://github.com/mehmetcansahin "mehmetcansahin (2 commits)")[![algethamy](https://avatars.githubusercontent.com/u/9952761?v=4)](https://github.com/algethamy "algethamy (1 commits)")

---

Tags

naorayblueprint-nova-addon

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[naoray/blueprint-nova-addon

7123.2k](/packages/naoray-blueprint-nova-addon)[illuminate/routing

The Illuminate Routing package.

1408.5M1.9k](/packages/illuminate-routing)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169175.3k2](/packages/spatie-laravel-mix-preload)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42153.1k18](/packages/rareloop-lumberjack-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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