PHP code example of samsonasik / ci4-vue

1. Go to this page and download the library: Download samsonasik/ci4-vue 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/ */

    

samsonasik / ci4-vue example snippets


# go to ci4-vue directory
cd ci4-vue

# run php development server inside ci4-vue directory
php spark serve

// src/App/templates/layout/default.phtml
 $isDevelopment = ENVIRONMENT === 'development';