Download the PHP package junaidiar/imagekit-adapter without Composer
On this page you can find all versions of the php package junaidiar/imagekit-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download junaidiar/imagekit-adapter
More information about junaidiar/imagekit-adapter
Files in junaidiar/imagekit-adapter
Package imagekit-adapter
Short Description File System adapter for ImageKit.
License
Informations about the package imagekit-adapter
Filesystem adapter for the ImageKit API
A configuration adapter for ImageKit inspired by TaffoVelikof. This package can be used for php or Laravel project. Let's install to your project by the following instructions below:
Contents
⚙️ Installation
🛠️ Setup imagekit.io
👩💻 Usage in PHP Native
🚀 Usage in Laravel
👩💻 Usage with CKEditor & Laravel
Installation
You can install the package via composer:
Setup
First of all you have to sign up for an ImageKit account. Then you can go to https://imagekit.io/dashboard/developer/api-keys to get your public key, private key and url endpoint.
Usage in PHP Native
Usage in Laravel
You can add a new driver by extending the Storage in the boot()
method of AppServiceProvider
like so.
Then create a new disk in config/filesystems.php
:
Don't forget to add your keys in .env
:
And now you can use Laravel's Storage facade:
Usage with CKEditor & Laravel
Install ckeditor 5 from the official documentation here https://ckeditor.com/docs/index.html and make sure you have installed Upload Adapter
or
you can download my starter pack using ckeditor 5 Download Here
then setup your client side like so:
then you can create the method controller like so:
Ultimately you would see the magic if you click the insert image on the ckeditor toolbar.
Happy Coding Thank You :)