devdrawer/tutorial
最新稳定版本:1.0.0
Composer 安装命令:
composer create-project devdrawer/tutorial
包简介
This is a sample composer package tutorial.
README 文档
README
Learn how to create your own composer project to quickly reuse or release your code. In this tutorial, we will go over creating a composer project, creating a GitHub repo for it, and publishing it to Packagist.
License
OSL - Open Software Licence 3.0
Sample Code
Add the following code to your php file and you should see the ClassName output of "Hello World".
<?php require_once 'vendor/autoload.php'; new \DevDrawer\Tutorial\ClassName();
To run your tests, make sure you have phpunit installed or run composer install. I have added a composer phpunit to this project so you can test it with only these files.
composer require phpunit/phpunit
php vendor/phpunit/phpunit/phpunit tests/ClassNameTest.php
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-03-09