adilab / javascript
Adi JavaScript Tools for PHP
v1.0.0
2016-01-16 21:11 UTC
This package is not auto-updated.
Last update: 2024-12-11 20:20:42 UTC
README
Adi JavaScript Tools for PHP is a set of tools that allows write JavaScript and JQuery sequence directly in PHP, making all necessary conversion from php variables to JavaScript automatically.
Installing
Preferred way to install is with Composer.
Install this library using composer:
$ composer require adilab/javascript
Usage:
require('vendor/autoload.php'); use Adi\JavaScript\JavaScript; echo JavaScript::alert('Hello world');