PHP code example of awema-pl / module-base-js
1. Go to this page and download the library: Download awema-pl/module-base-js 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/ */
awema-pl / module-base-js example snippets
use AwemaPL\BaseJS\Facades\BaseJS;
BaseJS::lowerStr('Some String'); // 'some string'
BaseJS::count(); // 1
bash
php artisan vendor:publish --provider="AwemaPL\BaseJS\Providers\BaseJSServiceProvider" --tag="migrations"
bash
php artisan migrate
bash
php artisan vendor:publish --provider="AwemaPL\BaseJS\Providers\BaseJSServiceProvider" --tag="config"
php artisan vendor:publish --tag=awema-public