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
3
votes
1 answer

Laravel nova and belongsToThrough?

Is there a way to display in Laravel Nova Resource a relation like this ? $report->meter->user where - a report belongs to a meter - a meter belongs to a user I am in report ressource and I want to display related user
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
3
votes
1 answer

How to change the data source in nova?

I need to create a page that extract data which come from a third-party API. I can't find a way to change the data source in order to make a nova resource read data from the API, not from my database, is there a way to do that ?
3
votes
1 answer

Laravel nova make resource show only the data of the user

I am trying to do something that seems to go out of the box with how laravel-nova works ... I have a Batch model/ressource that is used by super admins. Those batch reeports belongs to sevral merchants. We decided to add a layer of connection to are…
Patrick Simard
  • 2,294
  • 3
  • 24
  • 38
3
votes
1 answer

How to extend/modify an existing Laravel Nova field?

I'd like to modify the Code component of Laravel Nova. For example in the file: vendor/laravel/nova/resources/js/components/Detail/CodeField.vue I'd like to modify the config object near the bottom, specifically, I'd like to change the following…
Mark Shust at M.academy
  • 6,300
  • 4
  • 32
  • 50
3
votes
1 answer

Laravel Nova 3 - Resource - Remove Button - "Update & Continue Editing"

I cannot find where to remove one of the buttons on the edit Resource page. The button I want to remove is the one labeled: Update & Continue Editing Laravel Nova Resource class VehicleService extends Resource { public static $model =…
KSS
  • 337
  • 3
  • 10
3
votes
1 answer

Error: pngquant failed to build, make sure that libpng-dev is installed

I'm trying to install laravel-nova in my Laravel project located in a Vagrant VM When I run the command npm install in the packages.json directory, I get the following error: ⚠ The…
dennis
  • 31
  • 1
  • 2
3
votes
2 answers

How to show Laravel Nova action without select any record from Nova Resource Listing/Index?

As seen in the image below. When we select the record from the listing than action drop down appear. But I need to show it always, either user selects some record or not.
Muhammad Sulman
  • 1,611
  • 1
  • 19
  • 25
3
votes
0 answers

Laravel Nova does not distinguish between different types of polymorphic relationship between same models

I have a Tab model which has a one-to-many polymorphic relationship with many other models including my User model. I've called this relationship customizers (because they customize a tab's content) and store them in a table called tab_customizers…
TheSETJ
  • 518
  • 9
  • 25
3
votes
2 answers

Watching a dynamically rendered field in Laravel Nova Vue component

In Laravel Nova, action modals are rendered in Vue by retrieving a list of fields to display through a dynamic component. I have replaced the action modal with own custom component, but am struggling to achieve the effect I want without also…
Morgan
  • 867
  • 3
  • 11
  • 34
3
votes
2 answers

How to change default prefix "Create/Update" that comes with CRUD?

How can i change, prefix that comes with CRUD operation ie CREATE / UPDATE in laravel NOVA? And if i can change them, how can i apply translations on them? prefix "Create" is shown in image.
ahsan ayub
  • 286
  • 2
  • 17
3
votes
0 answers

Reset password in laravel nova

I'm trying to combine Laravel project and Nova admin panel. In the project I need to reset Nova password, But there is a FatalThrowableError error in PasswordBroker.php file. This is the error This is my PasswordBroker.php file.
Anupama
  • 31
  • 4
3
votes
1 answer

How to create a two steps form in Laravel Nova?

First step - create a new a Gallery (Name and Type). Click 'Next' button. Second step - upload multiple images to that gallery. What can I do in order to achieve that in Laravel Nova admin panel? I can't follow documentation and just add…
MEF
  • 31
  • 4
3
votes
1 answer

How to change Laravel-Nova action name?

Actually, I need to change the laravel nova action name like translate into different languages. class PrintWithDetail extends Action { use InteractsWithQueue, Queueable, SerializesModels; /** * Perform the action on the given models. …
Muhammad Sulman
  • 1,611
  • 1
  • 19
  • 25
3
votes
1 answer

How to fix error with Unsupported image type on Image::make

I'm trying to create images/user_avatars with Laravel Nova admin panel and with api. I need generate 3 pictures for each download - avatar, thumbnail and preview. public function fields(Request $request) { return [ //some…
Simon Rusin
  • 61
  • 1
  • 9
3
votes
1 answer

Laravel Nova custom login

My Laravel project uses the following user types: students, parents, trainers. Now I would like to use Laravel Nova for the backend to manage the different resources. Nova uses the users table, and model as default, however, I would like to use the…
arety_
  • 1,983
  • 2
  • 10
  • 23