李东云 b03ed2b06f build(release): 改为了 beta字段
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
2023-12-27 15:16:34 +08:00
2023-10-13 15:25:14 +08:00
2023-12-18 17:45:30 +08:00
2023-12-18 16:05:20 +08:00
2023-12-18 10:12:30 +00:00
2023-12-18 10:12:30 +00:00
2023-10-13 15:08:31 +08:00
2023-04-10 15:54:35 +08:00
2023-03-21 16:56:42 +08:00
2023-12-18 16:03:53 +08:00
2023-12-18 18:12:04 +08:00

PHP Package Skeleton / Example Project

This repository shows a basic setup for a PHP package or application in PHP.

Getting Started

All-in-one environment has been contained in this docker.

Installing

A standard php docker is necessary, then run the following command.

composer create-project \
  --repository=https://nest.doylee.cn/api/packages/HDK/composer \
  --remove-vcs -s alpha \
    singularity/hdk-skeleton:^1.0 \
    .

or if you have been cloned this repository, you can use the following

php composer.phar install

This will install all dependencies needed for the project.

Running the Tests

All tests can be run by executing

composer test

pest will automatically find all tests inside the tests/ directory and run them based on the configuration in the phpunit.xml file.

Running the Application

PHP has an in-built server for local development. This can be started by executing

composer start

Then open your browser at http://localhost:9561

You should see a json-format text on your screen.

Built With

License

This project is licensed under the MIT License - see the LICENCE.md file for details.

Description
No description provided
Readme 187 KiB
Languages
PHP 96.9%
Dockerfile 1.7%
Shell 1.4%