asterios / core
Asterios PHP Core
Installs: 6
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 12
Type:asterios-package
pkg:composer/asterios/core
Requires
- ext-curl: *
- ext-mysqli: *
- endroid/qr-code: ^6.0
- firebase/php-jwt: ^6.10
- mobiledetect/mobiledetectlib: 4.8.09
- spomky-labs/otphp: ^11.3
- symfony/mailer: ^7.3
- symfony/mime: ^7.3
- symfony/twig-bridge: ^7.3
- twig/twig: ^3.21
- vanilla/htmlawed: 2.2.15
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.40
- mockery/mockery: 1.6.12
- phan/phan: ^5.4
- phpstan/phpstan: 2.1.17
- phpunit/phpunit: 11.4.2
- roave/security-advisories: dev-latest
This package is not auto-updated.
Last update: 2026-02-18 12:16:18 UTC
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
$
