Download the PHP
package alberto-bottarini/nova-image-with-thumbs without Composer
On this page you can find all versions of the php package
alberto-bottarini/nova-image-with-thumbs. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Informations about the package nova-image-with-thumbs
Laravel Nova Image With Thumbs Field
This custom fields add thumbnail ability to standard Image Field in Laravel Nova.
Take a look at this example:
This field will automatically generate two images on your disk and will fill image and thumbnail attribute of your model with path of these files.
Using $model->image you will find original uploaded image and with $model->thumbnail you will find a 200x100 image.
Configuration
thumbs method accepts a list of associatable-array with these keys:
Key
Mandatory
Acceptance
Description
name
Y
string
The model column where you want to persist your thumbnail path
w
Y
integer
The width of thumbnail
h
Y
integer
The height of thumbnail
method
Y
string (fit/resize)
The Intervention method to generate image
Prunable
NovaImageWithThumbs takes care of prunable images. If you delete a model with thumbnails, the field will automatically deletes useless files for you.
Show thumbnails to users
If you need to show thumbnails inside index or detail page, you can add a new standard Image Field to your resource:
All versions of nova-image-with-thumbs with dependencies
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package alberto-bottarini/nova-image-with-thumbs contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.