PHP code example of ptadmin / admin

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

    

ptadmin / admin example snippets

bash
php artisan vendor:publish --tag=ptadmin --force
bash
php artisan vendor:publish --tag=ptadmin-config --force
bash
php artisan vendor:publish --tag=ptadmin-migrations --force
bash
php artisan vendor:publish --tag=ptadmin-assets --force
bash
php artisan migrate
text
/{PTADMIN_WEB_PREFIX}/ptconfig.js
bash
php artisan admin:auth
bash
php artisan admin:fe:pull
bash
php artisan admin:fe:update
bash
php artisan admin:pf:pull
bash
php artisan admin:pf:publish