Skip to content

Class "Laravel\Nova\Actions\ActionResponse" not found #195

@yuriizee

Description

@yuriizee

Title: Class "Laravel\Nova\Actions\ActionResponse" not found with Nova 4.23

Is this a bug report or a feature request?
Bug report

Current Behavior:
When using maatwebsite/laravel-nova-excel version 1.3.13 with laravel/nova version 4.23.0 (or any 4.x version where ActionResponse is not present), attempting to use the Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel action results in a Class "Laravel\Nova\Actions\ActionResponse" not found error.

Expected Behavior:
The Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel action should work correctly with laravel/nova 4.x series, or there should be a clear version constraint preventing its use with Nova versions that do not support ActionResponse.

Steps to Reproduce:

  1. Laravel Version: 10.x (or compatible with Nova 4.x)
  2. Laravel Nova Version: 4.23.0 (or any 4.x version below 5.0)
  3. maatwebsite/laravel-nova-excel Version: 1.3.13
  4. PHP Version: 8.1+ (or compatible with Nova 4.x)

composer.json relevant parts:

{
    "require": {
        "laravel/nova": "^4.23",
        "maatwebsite/laravel-nova-excel": "^1.3"
        // ... other dependencies
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions