PHP code example of kim / javascript
1. Go to this page and download the library: Download kim/javascript library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kim / javascript example snippets
'JavaScript' => 'Kim\JavaScript\JavaScriptFacade'
bash
php artisan vendor:publish
JavaScript::put([
'foo' => 'bar',
'pi' => 3.14,
]);
JavaScript::put([
'isWorking' => true
'name' => 'Thomas',
]);
JavaScript::add('nothing', NULL);