PHP code example of cashwarden / api

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

    

cashwarden / api example snippets

sh
git clone xxxx
cd <rest-api>
cp .env.example .env
chmod 777 -R runtime/
chmod 777 -R web/uploads/
php yii migrate
php yii generate/key # optional 
sh
docker-compose run --rm php composer install