sanotsh/hello-world-package

此库将返回字符串 "hello world";

1.0 2020-07-13 01:03 UTC

This package is auto-updated.

Last update: 2024-09-13 11:57:42 UTC


README

使用该包的步骤

  1. 创建一个新文件夹。
  2. 打开cmd/git bash并运行 "composer require santosh/hello-world-package" 命令。
  3. 创建一个新的PHP文件,并将以下代码粘贴到文件中。
  4. 运行 index.php。

require_once './vendor/autoload.php'; $objHelloWorld = new \HelloWorld\HelloWorld(); echo $objHelloWorld->display();