PHP code example of igorkalm / idpcontroller

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

    

igorkalm / idpcontroller example snippets


php artisan migrate

**Illuminate\Database\QueryException**

SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'qrcode' (SQL: alter table `users` add `qrcode` varchar(255) null)
at your-laravel-app\vendor\laravel\framework\src\Illuminate\Database\Connection.php:712
sql
INSERT INTO access_controllers(id,name,url,location) 
VALUES(1,'controller-name','http://XX.XX.XXX.XXX/command.html?pwd=XXXXXXX&command=','Where it is located');