PHP code example of magicalex / seedbox-manager

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

    

magicalex / seedbox-manager example snippets

nginx
server {
    listen 80 default_server;
    server_name _;

    charset utf-8;
    index index.html index.php;

    auth_basic "seedbox";
    auth_basic_user_file "/etc/nginx/passwd/password";

    root /var/www;

    location /seedbox-manager {
        try_files /seedbox-manager/$uri /seedbox-manager/index.php$is_args$args;
    }

    location ~ \.php$ {
        fastcgi_index index.php;
        
bash
vi /var/www/seedbox-manager/conf/users/{utilisateur}/config.ini
bash
echo "127.0.0.1 sbm.dev" >> /etc/hosts
php -S sbm.dev:8080