PHP code example of ci4-cms-erp / ci4ms

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

    

ci4-cms-erp / ci4ms example snippets

bash
cp env .env           # configure database, baseURL, etc.
cp app/Config/DefaultRoutes.php app/Config/Routes.php
docker compose up -d --build
docker exec ci4ms_app composer install
docker exec ci4ms_app php spark ci4ms:setup
bash
cp app/Config/DefaultRoutes.php app/Config/Routes.php
bash
php spark ci4ms:setup
bash
php spark serve