- Redis
sudo apt install redis-server
- Composer here
- npm
sudo apt install nodejs npm
- laravel-echo-server
npm install -g laravel-echo-server
- predis
- laravel-echo
- socket.io-client ^2.4.0 issue
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
class GoogleDriveServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap the application services. |
// Get Column Action | |
let apiData = this.api().columns(11).data(); | |
let apiDataLength = apiData[ 0 ]; | |
if (apiDataLength.length > 0) { | |
apiData.each(function (value, index) { | |
if (value[ index ] != "") { | |
requestorderDatatable.column(11).visible(true); | |
return false; | |
} else { | |
requestorderDatatable.column(11).visible(false); |
<?php namespace Sahib\Generators\Commands; | |
use File; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Input\InputArgument; | |
/** | |
* Class MakeViewCommand | |
* @package Sahib\Generators\Commands | |
*/ |
<?php | |
function convert($size) | |
{ | |
$unit=array('b','kb','mb','gb','tb','pb'); | |
return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i]; | |
} | |
convert(memory_get_usage()); |