PHP code example of websk / skif

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

    

websk / skif example snippets

bash
cp config/config.example.php config/config.php
bash
php vendor/bin/websk_db_migration.php migrations:migration_auto
# or
php vendor/bin/websk_db_migration.php migrations:migration_handle
bash
php vendor/bin/websk_auth_create_user.php auth:create_user
bash
cp config/config.example.php config/config.php
bash
docker compose exec php-fpm composer install
bash
docker compose exec php-fpm php vendor/bin/websk_db_migration.php migrations:migration_auto
# or
docker compose exec php-fpm php vendor/bin/websk_db_migration.php migrations:migration_handle
bash
docker compose exec php-fpm php vendor/bin/websk_auth_create_user.php auth:create_user