PHPackages                             magmacore/magmacore - 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. [Framework](/categories/framework)
4. /
5. magmacore/magmacore

ActiveLibrary[Framework](/categories/framework)

magmacore/magmacore
===================

A Small modular PHP framework Build for web applications

1.4.0(5y ago)1218232MITPHP

Since Dec 25Pushed 3y ago2 watchersCompare

[ Source](https://github.com/TheCodingWorkshop/MagmaCore__)[ Packagist](https://packagist.org/packages/magmacore/magmacore)[ Docs](https://thecodingworkshop.github.io/MagmaCore__/)[ RSS](/packages/magmacore-magmacore/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (10)Dependencies (9)Versions (25)Used By (2)

MagmaCore\_\_
=============

[](#magmacore__)

This project is in active development. So is evolving constantly. As soon project gets to stable point. Due notice will be given

Composer Check
--------------

[](#composer-check)

Note MagmaCoreStarter requires the MagmaCore\_\_ framework as its dependency. Ensure all dependency is present within your composer.json file.

```
composer require magmacore/magmacore
composer require phpunit/phpunit
composer require phpmailer/phpmailer
composer require symfony/console
```

Env Check
---------

[](#env-check)

By default the MagmaCoreStarter package comes with a .envExample file. You should rename this to .env and ensure the following fields are filled out.

```
DB_DRIVER=mysql - the database default driver - This is only mysql for the time being
DB_HOST=127.0.0.1 - the address for your webserver. Provided by your web host provider
DB_NAME=lavacms - the name of your database
DB_USER=root - the secure username for your database
DB_PASSWORD= - By default local development doesn't require a password LIVE SERVERS DOES!!!
DB_PREFIX=__magmaCore__ - a prefix which gets append to your database table names
DB_PORT=3306 - defaults database port
```

Installation
------------

[](#installation)

The main package can be installed using composer from your terminal.

```
composer require magmacore/magmacore-starter
```

Getting Started
---------------

[](#getting-started)

There's 2 .htaccess file the first one located within the main root directory. Which takes the incoming request which routes this to the \*\*public/index.php file. This index.php file handles the initialization of the application. This file is also used to load all the main component within the framework i.e session, cache, routing, error-handling etc...

Your basic index file should look like below.

```
require_once 'include.php';

use MagmaCore\Utility\Yaml;
use MagmaCore\Logger\LogLevel;
use MagmaCore\Base\BaseApplication;

try {
    BaseApplication::getInstance()
        ->setPath(ROOT_PATH)
        ->setConfig(Yaml::file('app'))
        ->setErrorHandler(Yaml::file('app')['error_handler'], E_ALL)
        ->setSession(Yaml::file('app')['session'], null, true)
        ->setCookie([])
        ->setCache(Yaml::file('app')['cache'], null, true)
        ->setRoutes(Yaml::file('routes'))
        ->setLogger(LOG_PATH, Yaml::file('app')['logger_handler']['file'], LogLevel::DEBUG, [])
        ->setContainerProviders(Yaml::file('providers'))
        ->run();
} catch (Exception $e) {
    echo $e->getMessage();
}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~0 days

Total

23

Last Release

1970d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73653402?v=4)[Ricardo Miller](/maintainers/thecodingworkshop)[@TheCodingWorkshop](https://github.com/TheCodingWorkshop)

---

Top Contributors

[![TheCodingWorkshop](https://avatars.githubusercontent.com/u/73653402?v=4)](https://github.com/TheCodingWorkshop "TheCodingWorkshop (168 commits)")

---

Tags

phpframeworkmagmacorelavastudio

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/manager-bundle

Provides the Contao Managed Edition

181.3M61](/packages/contao-manager-bundle)

PHPackages © 2026

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