PHP code example of webrium / console

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

    

webrium / console example snippets


php webrium make:model User

php webrium make:controller Auth

php webrium call IndexController@getCurrentName

php webrium call -m User@getCount


php webrium db list

php webrium db tables

php webrium db tables --use=second_db

php webrium db create prj_dbname

php webrium db drop dbname

php webrium table info users
// or
php webrium table columns users

php webrium log list

php webrium botfire:init your_bot_api_token

php webrium botfire:init your_bot_api_token --debug=your_chat_id