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

1.5.1 2026-02-17 17:38 UTC

This package is not auto-updated.

Last update: 2026-02-18 12:16:18 UTC


README

AsteriosPHP

Status Maintainer Maintainer GitHub Issues GitHub pull-requests License Project Site

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