Download the PHP
package jezzdk/nova-kontainer without Composer
On this page you can find all versions of the php package
jezzdk/nova-kontainer. 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.
Nova Kontainer is a Laravel Nove component that adds a file picker for Kontainer
Features
Select any image or video from Kontainer and have the url stored in Laravel Nova.
You must have a Kontainer account in order to use this plugin.
Read more and create an account on the official website.
How to Install
Run the following command from your project root:
Usage
The image data will be saved as json, so you should make the database field text/json. In your model the field can then be cast as an array.
Given the example above, the image property will contain the url and the type of the file as a minimum. It may contain several other properties that are passed from Kontainer.
Config
Set the URL to your Kontainer account with kontainerUrl():
You can limit the allowed file type by using the following methods:
Upgrading from v1
From v2 the data will be saved as json in the database. If you have already used v1 for a while, and you already have data, you should migrate your data to the new json format.
In v1 the data was just the url of the image. As a minimum the new json data should contain the url and type. A simple database query can do this in one go:
If you have a mix of images and videos, you might want to add some where clauses to the query, and set the type accordingly.
After this you should be able to convert the field type to text or json.
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 jezzdk/nova-kontainer 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.