PHP code example of petehouston / xin-artisan

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

    

petehouston / xin-artisan example snippets


$ php artisan xin:ip
Local IP address is: 192.168.100.3

$ php artisan xin:ip --public
External IP address is: 13.66.202.129

$ php artisan xin:log

$ php artisan xin:log --clean

$ php artisan xin:gist public/index.php --desc="Sharing Laravel index file."
Gist Sharing Information
------------------------------------------------------------------
Gist Id:  37c55c18cd63c34195c22fafbff6fe16
Gist Url: https://gist.github.com/37c55c18cd63c34195c22fafbff6fe16

$ php artisan xin:gist "public\index.php"

$ php artisan xin:view admin.auth.login