PHP code example of giwrgos88 / core-game-platform

1. Go to this page and download the library: Download giwrgos88/core-game-platform 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/ */

    

giwrgos88 / core-game-platform example snippets


'providers' => [
    
    /**
     * Third Party Service Providers...
     */
    Giwrgos88\Game\Core\Providers\CoreServiceProvider::class,
],

php artisan vendor:publish --provider="Giwrgos88\Game\Core\Providers\AssetsServiceProvider" --tag=config
php artisan vendor:publish --provider="Giwrgos88\Game\Core\Providers\AssetsServiceProvider" --tag=migrations
php artisan vendor:publish --provider="Giwrgos88\Game\Core\Providers\AssetsServiceProvider" --tag=seeds
php artisan vendor:publish --provider="Giwrgos88\Game\Core\Providers\AssetsServiceProvider" --tag=assets

$router->get('/', [
    'as' => 'home',
    'middleware' => 'force_ssl',
    'uses' => 'HomeController@index',
]);