PHP code example of mnabialek / laravel-version

1. Go to this page and download the library: Download mnabialek/laravel-version 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/ */

    

mnabialek / laravel-version example snippets

   
   composer 

$version = app()->make(\Mnabialek\LaravelVersion\Version);

$result = $version->isLaravel();

if ($version->isLaravel()) {
   // do something
}