asterios/core
最新稳定版本:1.9.3
Composer 安装命令:
composer require asterios/core
包简介
Asterios PHP Core
README 文档
README
The AsteriosPHP Framework is a simple and flexible PHP 8.+ framework, inspired from the best features of other frameworks, in a modern and elegant way.
AsteriosPHP Project Site
Table of Contents
Installation
This framework is ready to use it with ddev or with VScode DevContainer.
Repository installtion
$ git clone git@github.com:asteriosframework/core.git
Composer installation
$ composer require asterios/core
Description
AsteriosPHP is a lightweight PHP 8.x framework.
AsteriosPHP is fully PHP 8.1 compatible.
PHP CS Fixer
For code quality wie use the php-cs-fixer tool, with following configuration:
php-cs-fixer
<?php $finder = PhpCsFixer\Finder::create() ->in(__DIR__ . '/src'); $config = new PhpCsFixer\Config(); return $config->setRules([ '@PSR12' => true, 'full_opening_tag' => true, 'single_blank_line_at_eof' => false, 'blank_line_after_opening_tag' => false, 'curly_braces_position' => [ 'control_structures_opening_brace' => 'next_line_unless_newline_at_signature_end', ], 'control_structure_continuation_position' => ['position' => 'next_line'], ])->setFinder($finder);
Usage of PHP CS Fixer
$ ./php-cs-fix -h
PHP CS Fixer Tool
Syntax: php-cs-fixer [-h|t|f]
Options:
h Print this help page
t Run in dry-run mode
f Fixes possible issues
$
Credits
统计信息
- 总下载量: 197
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-17
