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
5
votes
2 answers

Laravel Nova Redirect to a custom path after login

I need to redirect user after login to a different place according to its role. The logic is simple. I tried to put it in redirectPath() function in Nova LoginController.php, but I have a very weird behavior - sometimes after login I reach the right…
guyaloni
  • 4,972
  • 5
  • 52
  • 92
5
votes
0 answers

What are the directories to include in the .gitignore when I use Laravel Nova?

What directories should I avoid pushing to GitHub for a Laravel Nova application (.gitignore)? Just the /nova directory? I suppose these directories should push to GitHub, and I will not affect the Laravel Nova Licenses, am I…
ronny torres
  • 131
  • 4
5
votes
0 answers

Laravel Nova - Confirmation dialog before form post

I have a Item Nova resource. According to the requirement from the client, I need to setup a confirmation dialog when a new post is created. If the amount field is higher than a certain value, there I need to ask user "Are you sure to proceed? You…
Vineeth Vijayan
  • 1,215
  • 1
  • 21
  • 33
5
votes
2 answers

How to access Laravel Nova from the root?

I want to be able to access Laravel Nova from the root, i.e. from example.com and not example.com/nova. I have tried changing the path setting in config/nova.php to '/'. Going to example.com then redirects to example.com/login which looks right,…
Phil H
  • 53
  • 6
5
votes
1 answer

Using multiple pages (components) dynamically in Vue js

I am using Laravel Nova custom tool which uses vue js for custom functionalities. There is a tool.vue file inside of the component after creation, that everything handles there. The thing is I would like to have different templates (vue files) and…
TheDevWay
  • 1,363
  • 1
  • 16
  • 45
5
votes
6 answers

Laravel Nova authorization using Policy is not working

I am developing a web application using Laravel. I am using Nova for admin panel. What I am doing now is I am authorizing my resource using policies as mentioned in the documentation. But seems like it is not working. This is what I have done so…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
5
votes
1 answer

Laravel Nova: How can I extend resources and used in custom Nova tool?

It is possible to extend a resource controller and use it in a Nova tool, so that it can be using all features and customize controllers and routes for e.g. using external API services? What is the best solution? Or it is better to build my own tool…
ador
  • 79
  • 9
5
votes
2 answers

Laravel Nova index buttons not appearing

I am in the process of building out my Laravel Nova interface, and adding the necessary fields to each of the resources. However I am noticing that the edit/detail/trash buttons are not appearing on my index view. Is there something that needs to be…
Doug Niccum
  • 196
  • 4
  • 16
5
votes
1 answer

Laravel Nova not working with Laravel Spark: Unexpected token P in JSON at position 1213

After installing Laravel Nova to my Spark application and going to /nova, the nova interface showed, but I can't click anything. Opening the dev console, I see the following errors:
kevnk
  • 18,733
  • 3
  • 28
  • 30
4
votes
2 answers

How can we change the logo in Laravel Nova4?

What is the way to change the logo in Laravel Nova4? I have checked the document but I can not find the way.
Bhavin Thummar
  • 1,255
  • 1
  • 12
  • 29
4
votes
1 answer

Call to undefined function GuzzleHttp\\Psr7\\build_query()

I have searched online but could not get a solution. I know I have done some small mistakes. I generated my code with openapi-generator. I had a directory at nova-components root named as RegistroImprese I made another directory SevenData and moved…
Qasim Ali
  • 587
  • 2
  • 11
  • 28
4
votes
0 answers

Laravel Nova 3.23.0 Installation issue 'CreateNova' & 'Nova' is not defined

I am installing Fresh Nova in my new Laravel project, following all the steps in the documentation as stated. After following those steps and logging in to Nova I am unable to see Nova Dashboard. The following error is displayed in the console:
4
votes
2 answers

How to use html in Laravel Nova resource title

I'm stuck with putting a html output in Laravel 7 & nova 3.8 according to: https://nova.laravel.com/docs/3.0/search/global-search.html#title-subtitle-attributes i try to make a function that put a html image in front of some resource on index…
NoAd
  • 141
  • 1
  • 14
4
votes
1 answer

How to change background-color of row on index page of resource in Laravel Nova?

Depending on the content in the "status" column, the row should be of a certain color. For example, if the 'status' is 'null', then the row is yellow.
4
votes
1 answer

Laravel Nova Tool - Send Metadata to Vue

I'm creating a Tool for Laravel Nova 2.0 In my Tool I want to send a list of stuff to the Vue component: in the PHP src for my tool I have a function that generates the "meta", as suggested in the documentation here: public function stuff() { …
benedict_w
  • 3,543
  • 1
  • 32
  • 49