PHP code example of lfphp / pls
1. Go to this page and download the library: Download lfphp/pls 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/ */
lfphp / pls example snippets
shell
# 创建项目,自动使用目录名称作为项目名称和命名空间
# 例如:创建项目名称为 MyProject,命名空间为 App\MyProject
composer create-project lfphp/pls MyProject
# 手动重置项目名称和命名空间
php pls.php reset
# 显示帮助信息
php pls.php help
shell
php pls.php reset