nevela / laravel
Nevela for Laravel: describe a resource once and generate its model, migration, validation, policy and REST API, plus the Next.js dashboard screens for it.
Requires
- php: ^8.2
- illuminate/console: ^11.0|^12.0|^13.0
- illuminate/database: ^11.17|^12.0|^13.0
- illuminate/http: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
- laravel/socialite: ^5.31
- lbuchs/webauthn: ^2.2
Requires (Dev)
- phpunit/phpunit: ^11.0
Suggests
- ext-exif: Turns phone photos the right way up before their metadata is removed.
- ext-gd: Optimises uploaded images: resizing, WebP and renditions. Without it images are stored as uploaded.
- laravel/sanctum: Required for the token sign-in endpoints and the default auth:sanctum middleware (php artisan install:api).
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.0
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.0
- v0.19.2
- v0.19.1
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.0
- v0.13.0
- v0.12.1
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.0
- v0.7.1
- v0.7.0
- v0.6.0
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2026-10-30 10:05:50 UTC
README
The Laravel side of Nevela: describe a resource once and get its model, migration, validation, policy and REST API, plus the Next.js dashboard screens for it.
nevela resource Product --fields="name:string, sku:string!, price:money, kind:enum(stock|digital), notes:text?"
Start a new app
The quickest way is the nevela command, which sets up Laravel, this package and the dashboard together:
npm install -g create-nevela # once
nevela new my-app
Without installing it, pnpm create nevela my-app does the same.
Add it to an existing Laravel app
php artisan install:api # Sanctum, if you don't have it yet
composer require nevela/laravel
Add Sanctum's trait to your user model:
use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable { use HasApiTokens, HasFactory, Notifiable; }
Needs PHP 8.2 or newer and Laravel 11, 12 or 13.
Commands
| Command | What it does |
|---|---|
nevela:resource |
Describe a resource and generate everything for it. |
nevela:generate |
Regenerate after changing a descriptor. Your own code is kept. |
nevela:seed |
Fill a resource with plausible records, and print how long it took. |
nevela:user |
Create someone who can sign in. |
nevela:upgrade |
Bring the app to the latest Nevela: the package, the generated code and the dashboard. nevela:update is its older name and still works. |
Full documentation: https://nevela-docs.vercel.app
Where this code lives
This repository is a read-only copy of packages/laravel from MarkColeMukisa/nevela, kept so Composer can install the package. Open issues and pull requests there.
License
MIT. Copyright (c) 2026 Mark Cole MUKISA.