PHPackages                             opscale-co/nova-api - 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. [API Development](/categories/api)
4. /
5. opscale-co/nova-api

ActiveLibrary[API Development](/categories/api)

opscale-co/nova-api
===================

Add default secured CRUD API endpoints for your Nova resources.

1.1.0(3mo ago)0267↑33.3%1MITPHPPHP &gt;=8.2CI passing

Since Mar 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/opscale-co/nova-api)[ Packagist](https://packagist.org/packages/opscale-co/nova-api)[ Docs](https://github.com/opscale-co/nova-api)[ RSS](/packages/opscale-co-nova-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (13)Versions (7)Used By (0)

Support us
----------

[](#support-us)

At Opscale, we’re passionate about contributing to the open-source community by providing solutions that help businesses scale efficiently. If you’ve found our tools helpful, here are a few ways you can show your support:

⭐ **Star this repository** to help others discover our work and be part of our growing community. Every star makes a difference!

💬 **Share your experience** by leaving a review on [Trustpilot](https://www.trustpilot.com/review/opscale.co) or sharing your thoughts on social media. Your feedback helps us improve and grow!

📧 **Send us feedback** on what we can improve at . We value your input to make our tools even better for everyone.

🙏 **Get involved** by actively contributing to our open-source repositories. Your participation benefits the entire community and helps push the boundaries of what’s possible.

💼 **Hire us** if you need custom dashboards, admin panels, internal tools or MVPs tailored to your business. With our expertise, we can help you systematize operations or enhance your existing product. Contact us at  to discuss your project needs.

Thanks for helping Opscale continue to scale! 🚀

Description
-----------

[](#description)

Add default secured CRUD API endpoints for your Nova resources.

Integrations are everywhere, even managing your operations in your Nova app, external systems will need to communicate with your app for consuming data or keep records up to date. APIs are the best solution for that!

[![API demo](https://raw.githubusercontent.com/opscale-co/nova-api/refs/heads/main/screenshots/nova-api.gif)](https://raw.githubusercontent.com/opscale-co/nova-api/refs/heads/main/screenshots/nova-api.gif)

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

[](#installation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/75510afed6d591d7bb5f6a440a0c7318ef5c9033451eb0923d802f131f0a87dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f707363616c652d636f2f6e6f76612d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/opscale-co/nova-api)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require opscale-co/nova-api
```

Next up, you must register the tool with Nova. This is typically done in the `tools` method of the `NovaServiceProvider`.

```
// in app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
    return [
        // ...
        new \Opscale\NovaAPI\Tool(),
    ];
}
```

After registering the tool, you need to run two important commands:

1. **Publish the configuration file:**

    ```
    php artisan nova-api:install
    ```

    This command publishes the `nova-api.php` configuration file to your `config` directory.
2. **Sync your Nova resources:**

    ```
    php artisan nova-api:sync-resources
    ```

    This command scans your Nova resources and writes them to the configuration file, making them available as API endpoints. Run this command whenever you add new Nova resources that you want to expose via API.

This package uses [Orion](https://orion.tailflow.org/) and [Laravel Sanctum](https://laravel.com/docs/master/sanctum) internally to automatically create controllers for serving, requests for validating and policies for securing API for your Nova resources. Any further configuration can be done publishing the configuration file using:

`php artisan vendor:publish --tag=orion-config`

Usage
-----

[](#usage)

You will see a "API Tokens" item in your menu by default. You can create your API Tokens here and you cab use them for any CRUD operation.

Testing
-------

[](#testing)

```
npm run test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/opscale-co/.github/blob/main/CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Opscale](https://github.com/opscale-co)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance81

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.3% 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 ~79 days

Total

5

Last Release

102d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3722594?v=4)[opscale](/maintainers/opscale)[@opscale](https://github.com/opscale)

---

Top Contributors

[![opscale-development](https://avatars.githubusercontent.com/u/181295122?v=4)](https://github.com/opscale-development "opscale-development (17 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (3 commits)")[![pedro-findex](https://avatars.githubusercontent.com/u/141655744?v=4)](https://github.com/pedro-findex "pedro-findex (2 commits)")

---

Tags

apilaravelpackagetoolsanctumnovaopscaleorion

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

### Embed Badge

![Health badge](/badges/opscale-co-nova-api/health.svg)

```
[![Health](https://phpackages.com/badges/opscale-co-nova-api/health.svg)](https://phpackages.com/packages/opscale-co-nova-api)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[gregoriohc/laravel-trello

A Laravel wrapper and facade package for the Trello API

3366.8k2](/packages/gregoriohc-laravel-trello)[vinelab/api-manager

Laravel API Manager Package - beatify and unify your responses with the least effort possible.

392.1k](/packages/vinelab-api-manager)[yxx/laravel-quick

agile development

145.3k](/packages/yxx-laravel-quick)

PHPackages © 2026

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