PHP code example of davidnineroc / easy-extends

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

    

davidnineroc / easy-extends example snippets


// 使用格式
php install xxxx

// 安装 redis 扩展
php install redis
// 安装好了之后,查看开启的扩展
php index

// 如果写入失败, 请回滚 php.ini 文件
php install rollback

+--------------+                    +----------------+            +------------+
| open service | php install redis  | down redis.dll | php index  |    show    |
|  lamp/lnmp   |------------------> | move redis.dll | ---------> | extensions |
| environment  |                    | update php.ini |            |    list    |
+--------------+                    +----------------+            +------------+