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

Is there a method in Laravel PHPUnit to check if a Nova lens exists?

I'm attempting to write a test to confirm that a Nova Lens exists using PHPUnit. This will be used as the base case to build on whether certain users have access to that lens or not. Here is what I have currently:
Asa LeHolland
  • 372
  • 4
  • 12
-1
votes
1 answer

Laravel Nova Tag field results in 404 on production

I seriously cannot wrap my head around this. Locally the tag field of Laravel Nova 4.0 works like a charm (https://nova.laravel.com/docs/4.0/resources/fields.html#tag-field). On production it results in a 404 page on the resource-detail…
Rob Derks
  • 196
  • 1
  • 7
-1
votes
1 answer

Laravel HasManyThrough nor BelongsToMany doesn't work in my case. Is it database structure problem?

I have 3 tables of: products table - id - title - etc. purchases table - id - code - etc. purchase_products table - id - purchase_id - product_id - qty - etc. My goal is to retrieve purchases for a single product. The following relationship…
Eimantas Gabrielius
  • 1,356
  • 13
  • 15
-1
votes
2 answers

Laravel nova create blank page without show row table?

i am trying to create a page using laravel nova that only show 3 chart without displaying table or row data. enter image description here is it can be using nova resource or nova tools ? or any other thing ?
-1
votes
2 answers

How to add new button in Laravel nova?

How can I customize my Laravel nova by adding new button near "Edit" and "Delete" buttons? Laravel nova buttons by default
yellow_pus
  • 11
  • 1
  • 2
-1
votes
1 answer

Call to a member function toArray() on array

I’m trying to use this package: https://packagist.org/packages/digital-creative/conditional-container. However with this basic example: return array_merge( [ Select::make('Option', 'option') ->options([ …
Ozzdev
  • 65
  • 1
  • 11
-1
votes
1 answer

How can I change the placeholder of global search field in Laravel Nova

I want to change the placeholder of global search field in Laravel Nova from "Press / to search" to another text
-1
votes
1 answer

How to pass variable from Controller to Nova Recource?

I want to pass $defaultFrom from NewsletterController.php:
Artur Müller Romanov
  • 4,417
  • 10
  • 73
  • 132
-1
votes
1 answer

How give selected action in Laravel Nova

I have a created a single action in my nova resource and whenever I want to run the action, I have to click on the checkboxes and then I have to select the action in the action dropdown list. As I have only one action in my resource , I want the…
kishan maharana
  • 623
  • 8
  • 10
-1
votes
1 answer

How to Update multiple tables with laravel Nova?

I have three tables namely clients, orders & websites. The website has a belongsTo field which belongs to a client_id from "clients" table. I may need to change the client_id for a website which works fine with laravel Nova. In mycase I also need…
-1
votes
1 answer

Composer memory limit exhausted

i have business hosting at All-Inkl.com, unfortunately i cannot use composer there anymore. The support wrote more that I have reached the limit of 1.5 GB and more is not possible. PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted…
Norman Huth
  • 519
  • 5
  • 16
-1
votes
1 answer

Laravel Nova Search Subtitle

In my Nova Resource ... class Person extends Resource ... I have this subtitle() method (which is part of a Nova Resource Class): public function subtitle() { return $this->address->city; } Person Model: class Person extends Model { …
Danzzz
  • 523
  • 8
  • 26
-1
votes
1 answer

Laravel Nova file upload saves as .bin file

Uploading a .pdc file with Laravel Nova, it saves as a .bin file. How can I save it as a .pdc file? Using the latest Laravel and the latest Nova public function fields(Request $request) { return [ ID::make()->sortable(), …
emotality
  • 12,795
  • 4
  • 39
  • 60
-1
votes
3 answers

Validate overlapping dates in laravel while creating

I want to validate that there is no duplicate row for any overlapping dates in laravel. I have 2 columns in database with DATE datatype, valid_from_date and valid_until_date. Suppose valid_from_date = 2019-01-01 and valid_until_date = 2019-01-31, I…
-1
votes
1 answer

Laravel primary key does not allow null

i"m using laravel+Nova, connecting to existing database of an existing software. The primary key is not the deault "ID" so at the "model" i changed it to like that:
David Gabbay
  • 107
  • 8
1 2 3
58
59