PHP code example of jiemo / mobile

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

    

jiemo / mobile example snippets


$mobile = new \Jiemo\Mobile\Parser();
// 解析
$mobile->parse(13333333333);
// 数据库版本
$mobile->getDbVersion();

bash
php bin/parsemobile 13333333333