Laravel version update

Laravel version update
This commit is contained in:
Manish Verma
2018-08-06 18:48:58 +05:30
parent d143048413
commit 126fbb0255
13678 changed files with 1031482 additions and 778530 deletions

View File

@@ -0,0 +1,31 @@
#!/usr/bin/env php
<?php
/*
* This file is part of laravel-filemanager.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$composerLock = file_get_contents('composer.lock');
$jsonComposerLock = json_decode($composerLock);
foreach ($jsonComposerLock->packages as $package) {
if ($package->name == 'unisharp/laravel-filemanager')
$lfmVersion = $package->version;
if ($package->name == 'laravel/framework')
$laravelVersion = $package->version;
if (isset($lfmVersion) && isset($laravelVersion))
break;
}
$imagickCheck = extension_loaded('imagick') ? 'Install' : 'Not Install';
$gfCheck = extension_loaded('gd') ? 'Install' : 'Not Install';
// show the basic information for debug message
echo 'OS System & Version: ' . php_uname() . PHP_EOL;
echo 'Laravel Version: ' . $laravelVersion . PHP_EOL;
echo 'File Manager Version: ' . $lfmVersion . PHP_EOL;
echo 'imagick Extension: ' . $imagickCheck . PHP_EOL;
echo 'gd Extension: ' . $gfCheck . PHP_EOL;