PHP code example of argora / foundry

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

    

argora / foundry example snippets

bash
nano /etc/php/8.3/fpm/php.ini
bash
nano /etc/php/8.3/mods-available/opcache.ini
ini
opcache.enable=1
opcache.enable_cli=1
opcache.jit=1255
opcache.jit_buffer_size=100M
bash
mkdir /usr/share/adminer
wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php
ln -s /usr/share/adminer/latest.php /usr/share/adminer/adminer.php
bash
php bin/install-db.php
php bin/create-admin-user.php