petk/php-skeleton
最新稳定版本:v0.1.0
Composer 安装命令:
composer create-project petk/php-skeleton
包简介
Skeleton for PHP libraries, packages and components
README 文档
README
Creating PSR-4 compliant PHP package or library with Composer the easy way.
This package provides a common folder structure and belonging files that are used for creating a modern PHP package/library that is PSR-4 compliant.
There is no recommended or standard folder and files structure for PHP packages but there are good practices. This repository provides initial skeleton for your PHP libraries and packages.
Inspired by phpleague/skeleton and php.skeleton.
php-skeleton uses Semantic Versioning
Installation
$ composer create-project petk/php-skeleton ./project 'dev-master'
Usage
After creating the skeleton project directory, you can start customizing it.
For example, create index.php and so on:
<?php require __DIR__ . '/../vendor/autoload.php'; use YourNamespace\Application; $application = new Application(); // ...
Read also the documentation for more information how to use php-skeleton.
License
This project is licensed under the MIT license.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-05