Download the PHP package nova-kit/nova-on-vapor without Composer
On this page you can find all versions of the php package nova-kit/nova-on-vapor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nova-kit/nova-on-vapor
More information about nova-kit/nova-on-vapor
Files in nova-kit/nova-on-vapor
Package nova-on-vapor
Short Description Nova on Vapor Integration Library
License MIT
Informations about the package nova-on-vapor
Laravel Nova on Laravel Vapor
This library attempts to solves several limitations when using Laravel Nova on Laravel Vapor including:
- [x] Unable to use interactive mode on Artisan affecting
nova:user
command. - [x] Ability to use
VaporFile
andVaporImage
locally via Minio. - [x]
ExportAsCsv
supports for Laravel Vapor
Installation
To install through composer, run the following command from terminal:
Usages
New nova:vapor-user
Command
The command swaps interactive mode questions to artisan command options, so you can use --email
, --name
and optionally --password
, as an example:
Note: Without passing
--password
, the code would generate a random 8 character password and you can use the Forgot Password feature to reset the value.Warning: Using
--password
is possible but be aware that the value will be logged to CloudWatch.
Minio for VaporFile
and VaporImage
locally
You can setup Minio locally and use it as a replacement for S3 locally. First you need to install league/flysystem-aws-s3-v3
by running the following command:
Next, you need to enable and configure Minio:
CSV Export
You can replace Laravel\Nova\Actions\ExportAsCsv
with NovaKit\NovaOnVapor\Actions\VaporExportAsCsv
:
If you would like to change the storage disk to store the CSV file that is available for download, you may invoke the withStorageDisk()
method when registering the action:
downloadViaTemporaryUrl
Mixin
Laravel Vapor has a response limit of 6MB and this would cause issue when you need to download large files. You can avoid this by utilising Storage::temporaryUrl()
to download the file:
All versions of nova-on-vapor with dependencies
composer-runtime-api Version ^2.2
illuminate/support Version ^8.83.4 || ^9.51 || ^10.0 || ^11.0
laravel/vapor-core Version ^2.37
nova-kit/nova-queued-export-as-csv Version ^1.4