PHPackages                             solenoid/core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. solenoid/core

ActiveProject[HTTP &amp; Networking](/categories/http)

solenoid/core
=============

HTTP MVC Framework

v1.0.0-beta(2y ago)10MITPHPPHP &gt;=7.3.0

Since Dec 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Solenoid-IT/php-core)[ Packagist](https://packagist.org/packages/solenoid/core)[ Docs](https://github.com/Solenoid-IT/php-core)[ RSS](/packages/solenoid-core/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (17)Versions (2)Used By (0)

Project
=======

[](#project)

**Core** is a smart HTTP/CLI **MVC framework** for building easy or very complex endpoints with a large set of integrated backend libraries.

The current project contains a sample web app to make developers easier to learn the internal logic of this framework.

For the official and complete documentation you should navigate to [Knowledge Base](https://kb.solenoid.it).

 [![Solenoid Core Logo](https://camo.githubusercontent.com/dd5b69899341dbf117b88d222550517420cb8f5e3fbc9b9c6721b4184cf7bef5/68747470733a2f2f63646e2e736f6c656e6f69642e69742f6c6f676f2f636f72652e706e67)](https://camo.githubusercontent.com/dd5b69899341dbf117b88d222550517420cb8f5e3fbc9b9c6721b4184cf7bef5/68747470733a2f2f63646e2e736f6c656e6f69642e69742f6c6f676f2f636f72652e706e67)

Setup
=====

[](#setup)

To create a new Core project you just have to run the following commands from your terminal :

`git clone https://github.com/Solenoid-IT/php-core ./core`
`cd ./core/private`
`php x init`

Requirements
============

[](#requirements)

OS &gt;= Ubuntu **22.04.1 LTS**
WebServer &gt;= Apache **2.4**
Runtime-Environment &gt;= PHP **7.3**

Contexts
========

[](#contexts)

Core can run both **HTTP** and **CLI** contexts with the same codebase :

**HTTP** = path resolver -&gt; gate -&gt; middleware groups -&gt; controller -&gt; response
**CLI** = task runner -&gt; response

**Store**, **model** and **service** objects are shared between HTTP and CLI so they are defined once and are usable on both contexts.

Logs
====

[](#logs)

Core will capture and log both all of the thrown errors and every execution call

Environments
============

[](#environments)

Core give you the ability to run under different specialized environment types ("**dev**" and "**prod**" are the reserved ones but you can define your custom ones) :

**dev** = This type will show you every error in the system and use uncached version of the web assets (css, js or other static resources) when you define the asset url with the function Core::asset

**prod** = This type will hide every error from the system (security issues) and use cached version of the web assets to improve the frontend performance and ux

**custom** = This type can be defined in a custom way

( Error logs will be tracked independently from the current environment settings )

Utility
=======

[](#utility)

Core has an integrated top-level CLI utility "**x**" to make some useful operations like to initialize the project, install packages, manage git repos, creating objects (stores, models, services, middlewares or controllers), manage apache, certs and crons.

Routes
======

[](#routes)

Core has a map-file to define how to resolve a request by its URL path.

**Route** -&gt; Goes to a destination object (you can attach multiple middleware groups or tags to it)
**Path** -&gt; Can be static or dynamic (containing placeholder-variables)
**Verb** -&gt; HTTP verb of the path (ex. GET, RPC, SSE or DELETE)
**Destination** -&gt; Object that will run the stack ( gate -&gt; middleware groups -&gt; controller )

Integrations
============

[](#integrations)

Core has a built-in support for **SvelteKit** as frontend JS framework.
You can install it by executing : `php x svelte install`

UI
==

[](#ui)

This project uses the [sb-admin](https://github.com/StartBootstrap/startbootstrap-sb-admin/tree/master) as UI template

Performance
===========

[](#performance)

Memory used for bootstrapping (minimal consumption) :

**HTTP** -&gt; 216 B
**CLI** -&gt; 96 B

License
=======

[](#license)

Solenoid **Core** framework is subjected to MIT license so it is opensource friendly

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

929d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5022e63e63aa040dc1495c88235236a4dcb3657690f5755e049b09e27d68efa6?d=identicon)[CapitanPNG](/maintainers/CapitanPNG)

---

Top Contributors

[![CapitanPNG](https://avatars.githubusercontent.com/u/71767537?v=4)](https://github.com/CapitanPNG "CapitanPNG (5 commits)")

---

Tags

httpcoremvc

### Embed Badge

![Health badge](/badges/solenoid-core/health.svg)

```
[![Health](https://phpackages.com/badges/solenoid-core/health.svg)](https://phpackages.com/packages/solenoid-core)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.0k1.1B6.9k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k747.1M2.7k](/packages/psr-http-factory)[psr/http-client

Common interface for HTTP clients

1.7k731.6M2.9k](/packages/psr-http-client)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k338.8M5.0k](/packages/symfony-http-client)[psr/link

Common interfaces for HTTP links

2.5k152.8M84](/packages/psr-link)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
