Questions tagged [laravel-nova]

Nova is an administration panel for Laravel, made by the creators of Laravel

Code Driven Configuration

Configure your entire Nova dashboard with simple PHP code. None of your Nova configuration is stored in the database. Painless to configure. Painless to deploy.

Keeps Your Application Pure

It’s a breeze to add a Nova administration panel to an existing Laravel application without touching your Eloquent models. After configuring a Nova resource for each model, you’re ready for lift off.

Laravel + Vue.js = ❤️

Nova is a sleek, single-page application built with Laravel and Vue.js. It's as smooth as silk and writing custom components is a cinch.

Feature Overview

  1. Resource Management
  2. Actions
  3. Filters
  4. Lenses
  5. Metrics
  6. Custom Tools
  7. Authorization
  8. Custom Fields
  9. Scout Search Integration

Resources

Laravel Nova Website

Documentation

880 questions
4
votes
2 answers

Update sibling input fields from custom field

I am using Laravel Nova and have created a custom Field, that gets company info via an api service. This works just fine. Where I am stuck, is when the company data returns I want to fill the rest of the resource form fields with this data. I am…
Vayu Robins
  • 168
  • 1
  • 12
4
votes
2 answers

Thousand separator in forms

I'm trying to add thousand separators to my inputs, how can I do it? I tried to use Laravel\Nova\Fields\Currency in my fields() method, but it doesn't help. It still shows value in the input like: 100000 And I want to show it like: 100,000 How…
SakuragiRokurota
  • 185
  • 1
  • 3
  • 12
4
votes
0 answers

Laravel Nova get the value of selected item in Select field

I have a select field in my resource that looks like this: Select::make('Category', 'category')->options([ 'local' => 'Local', 'ftp' => 'FTP', ]), Now I want to display an other field based on the value a user selects in the Category…
michael
  • 421
  • 6
  • 21
4
votes
4 answers

Run where()->get() on Nova Action fields()

I'm trying to provide a Select list with only records that are related to the model via a pivot table. While building a time tracker/budgeting software for a client I have two models I'm working with called Budgets and Projects that are joined…
Nate S
  • 163
  • 3
  • 13
4
votes
2 answers

Laravel nova tool not working with Class not found error

I'm creating a tool with laravel nova. I ran this command first, php artisan nova:tool mytools/cachier And then in my mai app directory App\Providers\NovaServiceProvider I added, use Mytools\Cachier\Cachier; public function tools() { …
vimuth
  • 5,064
  • 33
  • 79
  • 116
4
votes
2 answers

Laravel Nova: how to display image from binary string?

I save PNG's binary content in database. I want display this PNG's on page without temporary save file on disk. I think need generate img tag like
4n70wa
  • 337
  • 4
  • 19
4
votes
1 answer

Hide button "Create & Add Another" by condition in Laravel Nova

if I create a new resource by reference from the related resource new?viaResource=some-resource&viaResourceId=8&viaRelationship=another-sesource I want to hide the button "Create & Add Another". https://i.stack.imgur.com/M3Hy6.png
4n70wa
  • 337
  • 4
  • 19
4
votes
0 answers

Laravel nova How to create custom field with multiple input fields

I need to create a custom field, that has multiple rows, one row for each day of the week, and multiple input fields, container opening hours and some other stuff, any body who can help me in the right direction? I have tried to read the…
4
votes
2 answers

Laravel Nova Error 403 Page On Laravel Forge

I deployed my Laravel app with Laravel Nova on Laravel Forge. I installed Nova with a path repository, I have also Nova user. I replaced NovaServiceProvider Gate method like: Gate::define(‘viewNova’, function ($user) { return…
4
votes
1 answer

Laravel Nova Card Metrics Auto Update Without Refresh Page

I want to update Laravel Nova Card metrics on specific interval without refreshing page. But without modifying Laravel Nova Core files. Is there any way which makes it easy to do on any Laravel Nova Card
Krupal Patel
  • 1,387
  • 3
  • 12
  • 28
4
votes
0 answers

Multiple independent Laravel Nova Dashboards in different routes?

I am interested if there is a way to generate multiple independent Laravel Nova dashboards within the same multi-auth application? Eg. Administrator Dashboard - {admin.example.com/nova/users} Member Dashboard = {example.com/nova/home}
Stu
  • 41
  • 3
4
votes
1 answer

Laravel Nova - Point Nova path to resource page

I need to point Nova path to a resouce. So that when a user login, he`ll directed to that particular resource. I have updated this path in /config/nova.php: 'path' => '/crm/resources/clients' Now after login, I can see the URL updated. But the…
Vineeth Vijayan
  • 1,215
  • 1
  • 21
  • 33
4
votes
5 answers

Laravel nova belongsTo filter

I have one table championships and one table users. Also I have same models (championship and user). In one championship may be one main judge, main secretary and judge operator. All of them also are roles in my application and stored in roles…
Viktor
  • 1,532
  • 6
  • 22
  • 61
4
votes
3 answers

How to ignore field from database operation in Laravel Nova

I am developing a Web Application using Laravel Nova. Laravel Nova is quite new. I am now having problem with database relationship and Fields. I like to ignore a field from database operations. This is my scenario. In the Job resource, I have this…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
4
votes
2 answers

Laravel Nova: authenticate with Passport

How can Laravel Nova be configured to work with Passport? Currently I can log into my application via the regular /login (using the Auth middleware) route and the Nova administration will accept my authenticated user, however if I attempt to login…
AVProgrammer
  • 1,344
  • 2
  • 20
  • 40