Download the PHP package jodit/connector without Composer

On this page you can find all versions of the php package jodit/connector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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.
Please rate this library. Is it a good library?

Informations about the package connector

Jodit FileBrowser Connector for Jodit v.3.0

Official Jodit WYSIWYG PHP connector

old version for Jodit 2.x

Install

or download ZIP archive

Configuration

Available options:

you can defined several sources, and override some options:

How use with Jodit

Filebrowser settings Detailt options

and uploader options Default options

Customize config

Change config.php

Do not modify the default.config.php file, instead, override the settings in the config.php file

Authentication

Change connector/checkAuthentication in connector/Application.php

Like this:

Example Integrate with Joomla

Change Application.php

You can use $action for allow or deny access

but better use AllowControl option

Access Control

roleSessionVar - The session key name that Jodit connector will use for checking the role for current user.

After this you will be able to use $_SESSION['JoditUserRole'] to set inside your script - user role, after that user was authenticated:

Somewhere in your script

In deafult.config.php you can find default ACL config

It means that all authenticated user will have all permissions but they are not allowed to download executable files.

In config.php you can customize it. For example set read-only permission for all users, but give to users with the role - administrator full access:

API

All actions case-sensitive

Actions

permissions - get permissions to current path. This action should call after every changing path.

See tests/api/PermissionsCept.php

Answer JSON example:

files - Get all files from folder

See tests/api/getAllFilesByAllSourcesCept.php and tests/api/getAllFilesByOneSourceCept.php

Answer JSON example:

folders - Get all folders from path

See tests/api/getAllFoldersByAllSourcesCept.php and tests/api/getAllFoldersByOneSourceCept.php

Answer JSON example:

fileUploadRemote - Download image from another server

See tests/api/uploadImageByUrlToServerCept.php

Answer JSON example:

fileUpload - Upload files to server

See tests/api/uploadImageToServerCept.php

fileRemove - Remove file

See tests/api/removeImageFromServerCept.php

folderRemove - Remove folder from server

folderCreate - Create folder on server

See tests/api/createFolderCept.php

folderMove - Move folder to another place

See tests/api/moveFileCept.php

fileMove - Move file to another place

See tests/api/moveFileCept.php

imageResize - Resize image

See tests/api/resizeImageCept.php

imageCrop - Crop image

See tests/api/cropImageCept.php

getLocalFileByUrl - Get local file by URL

See tests/api/getlocalFileByURLCept.php Example:

Answer JSON example:

Road map

Contacts


All versions of connector with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
jodit/application Version >=3.0.41
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 jodit/connector contains the following files

Loading the files please wait ....