Skip to content

Repository files navigation

lichtphp

Yet another modern PHP framework. For PHP 8.1+ only. Features PSR-11 dependency injection with autowiring.

Currently in development with many pending TODOs littered throughout the code.

Usage

Applications utilizing this library should follow the PHP-PDS directory structure.

Development

First, install development dependencies through composer:

composer install

Run static analysis:

composer analyze

Run tests:

composer test

Feature table

PSRTitleStatusImplementation
0Autoloading StandardDeprecated
1Basic Coding StandardAcceptedEnforced by PHPCS
2Coding Style GuideDeprecatedEnforced by PHPCS
3Logger InterfaceAcceptedNo implementation
4Autoloading StandardAcceptedImplemented by Composer
5PHPDoc StandardDraft
6Caching InterfaceAcceptedNo implementation, in favor of PSR-16
7HTTP Message InterfaceAcceptedNo implementation
8Huggable InterfaceAbandoned
9Security AdvisoriesAbandoned
10Security Reporting ProcessAbandoned
11Container InterfaceAcceptedImplemented in src/Container/, with autowiring
12Extended Coding Style GuideAcceptedEnforced by PHPCS, with exceptions
13Hypermedia LinksAcceptedNo implementation
14Event DispatcherAcceptedNo implementation
15HTTP HandlersAcceptedNo implementation
16Simple CacheAcceptedImplemented in src/SimpleCache/, with Redis backend
17HTTP FactoriesAcceptedNo implementation
18HTTP ClientAcceptedNo implementation
19PHPDoc tagsDraft
20ClockAcceptedImplemented in src/Clock/
21InternationalizationDraft
22Application TracingDraft

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

[WIP] Yet another modern PHP framework. For PHP 8.1+ only.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages