den1n/nova-files

Laravel Nova files resource.


Keywords
nova, files, laravel, den1n
License
MIT

Documentation

nova-files

Laravel Nova files resource.

Installation

Require package with Composer.

composer require den1n/nova-files

Publish package resources.

php artisan vendor:publish --provider=Den1n\NovaFiles\ServiceProvider

This will publish the following resources:

  • Configuration file config/nova-files.php
  • Migration file database/migrations/*_create_files_tables.php
  • Translations resources/lang/vendor/nova-files

Migrate database.

php artisan migrate

Add instance of class Den1n\NovaFiles\Tool to your App\Providers\NovaServiceProvider::tools() method to display the files within your Nova resources.

/**
 * Get the tools that should be listed in the Nova sidebar.
 *
 * @return array
 */
public function tools()
{
    return [
        new \Den1n\NovaFiles\Tool,
    ];
}

Screenshots

Files

Files

File Details

File Details

Contributing

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature.
  3. Commit your changes: git commit -am 'Add some feature'.
  4. Push to the branch: git push origin my-new-feature.
  5. Submit a pull request.

Support

If you require any support open an issue on this repository.

License

MIT