php-concept / skeleton-2
FormSite-level starter for PHP Concept 2 — thin Core, opt-in Extensions, explicit ConceptStack
Package info
github.com/php-concept/concept-skeleton-2
Language:CSS
Type:project
pkg:composer/php-concept/skeleton-2
Requires
- php: ^8.4
- php-concept/brick-casting-valinor: ^1.0
- php-concept/brick-console-symfony: ^1.0
- php-concept/brick-error-handler-whoops: ^1.0
- php-concept/brick-http: ^1.0
- php-concept/brick-logger-monolog: ^1.0
- php-concept/brick-session-symfony: ^1.0
- php-concept/brick-validation-rakit: ^1.0
- php-concept/brick-view: ^1.0
- php-concept/core-2: ^1.0
- php-concept/extension-config: ^1.0
- php-concept/extension-path-manager: ^1.0
- php-concept/stack: ^2.0
- twbs/bootstrap: ^5.3
- twbs/bootstrap-icons: ^1.13
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.75
- phpstan/phpstan: ^2.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PHP Concept Skeleton
A FormSite-level starter for PHP Concept 2
Thin Core · opt-in Extensions · explicit
ConceptStack
PHP Concept is a modular PHP runtime built on PSR standards. You assemble capabilities deliberately — nothing enables itself. This repository is the clone-ready application skeleton: HTTP forms, CSRF, Twig, validation, sessions, logging, and error pages. Database, Components, and other product add-ons stay opt-in.
About PHP Concept
- Thin Core — container, routing, and dispatch. No View, Session, or Database inside the kernel.
- ConceptStack — fluent builders (
addHttp(),addView(), …) that produce an ordered list of service providers. - Extensions — separate Composer packages. Paths, flags, and connections are constructor arguments from glue code — packages do not read a global config bag.
- PSR-first — HTTP (PSR-7/15), Container (PSR-11), Logging (PSR-3), and friends stay interoperable.
- Visible wiring — bootstrap shows exactly what lands in the container. No silent auto-discovery of half the ecosystem.
Requirements
- PHP 8.4+
- Composer 2.x
- A web server (or Docker) with the document root set to
public/
Installation
composer create-project php-concept/skeleton-2 my-app
# or: git clone git@github.com:php-concept/concept-skeleton-2.git my-app && cd my-app && composer install
cp .env.example .env
composer ci
Point your web server at public/, or start the local Docker stack:
cp docker-compose.yml.example docker-compose.yml
docker compose up -d --build
# → http://localhost:8080
Documentation
- Documentation
- concept-core-2 — HTTP kernel and routing
- concept-stack — fluent capability recipes
AGENTS.md— agent-oriented map for this repo
License
The PHP Concept Skeleton is open-source software licensed under the MIT license.
