Download the PHP package issadicko/kodi-script without Composer

On this page you can find all versions of the php package issadicko/kodi-script. 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 kodi-script

KodiScript PHP SDK

Latest Stable Version License CI

A lightweight, embeddable scripting language for PHP applications.

📖 Documentation complète : docs-kodiscript.dickode.net

Installation

Quick Start

Features

🔌 Extensibility

KodiScript is designed to be extensible. You can add your own native functions.

Custom Functions

Laravel Integration Example

API Reference

KodiScript::eval(source, variables)

Evaluates a script and returns the result value. Throws on error.

KodiScript::run(source, variables)

Runs a script with optional variables and returns ScriptResult.

KodiScript::builder(source)

Creates a builder for advanced configuration.

Native Functions

Category Functions
String toString, toNumber, length, substring, toUpperCase, toLowerCase, trim, split, join, replace, contains, startsWith, endsWith, indexOf
Math abs, floor, ceil, round, min, max, pow, sqrt, sin, cos, tan, log, log10, exp
Random random, randomInt, randomUUID
Type typeOf, isNull, isNumber, isString, isBool
Array size, first, last, reverse, slice, sort, sortBy
JSON jsonParse, jsonStringify
Encoding base64Encode, base64Decode, urlEncode, urlDecode
Crypto md5, sha1, sha256
Date/Time now, date, time, datetime, timestamp, formatDate, year, month, day, hour, minute, second, dayOfWeek, addDays, addHours, diffDays

Other Implementations

Language Package
Kotlin Maven Central
Go pkg.go.dev
Dart pub.dev
TypeScript npm

License

MIT


All versions of kodi-script with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 issadicko/kodi-script contains the following files

Loading the files please wait ...