PHPackages                             chillem/nucleus - 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. chillem/nucleus

ActiveLibrary[Framework](/categories/framework)

chillem/nucleus
===============

Dope Game Core

1.1.0(8y ago)06MITCSSPHP ^7.2

Since Jan 20Pushed 7y agoCompare

[ Source](https://github.com/CodyErekson/Nucleus)[ Packagist](https://packagist.org/packages/chillem/nucleus)[ RSS](/packages/chillem-nucleus/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (23)Versions (9)Used By (0)

Nucleus
=======

[](#nucleus)

[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton) [ ![Codeship Status for CodyErekson/Nucleus](https://camo.githubusercontent.com/75a8604c1fde011c4fe7eea4e3b3285ccc96c94f775f04629e3b53f349ddc851/68747470733a2f2f6170702e636f6465736869702e636f6d2f70726f6a656374732f65306464376230302d653131632d303133352d396361612d3361313562343764346231362f7374617475733f6272616e63683d6d6173746572)](https://app.codeship.com/projects/266583) [![VERSION](https://camo.githubusercontent.com/889af09d88d86e3261cced5e7b19255b72241a9289e3f0c78623f0058e449da9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e322e302d626c75652e737667)](https://camo.githubusercontent.com/889af09d88d86e3261cced5e7b19255b72241a9289e3f0c78623f0058e449da9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e322e302d626c75652e737667) [![LICENSE](https://camo.githubusercontent.com/f320f85a21a284a94fd8b45c0d2f5e06f8e9040219218a936fff6eb6d76ef90d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f436f64794572656b736f6e2f4e75636c6575732e737667)](https://camo.githubusercontent.com/f320f85a21a284a94fd8b45c0d2f5e06f8e9040219218a936fff6eb6d76ef90d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f436f64794572656b736f6e2f4e75636c6575732e737667)

A Slim based PHP application scaffolding.

This is more than a framework, thus the word "scaffolding." Nucleus is a fully functional out-of-the-box web application. All you need to do is build your environment, define values in config/.env, run the database migrations and seeds, then your app is ready to go!

The major components and relevant documentation are below:

- Slim (framework)
- Twig (templates)
- Phinx (database migrations)
- Eloquent (ORM)
- Monolog (logging)
- Respect Validation (validation)
- Whoops (error reporting)
- League\\Event (event emitter)
- League\\CLImate (CLI output formatting)
- Swiftmailer (email)

### Requirements

[](#requirements)

- PHP &gt;= 7.1
- Composer
- NPM
- MariaDB 10.1.30 or equivalent

### Installation

[](#installation)

`php composer create-project chillem/nucleus [your-directory-name]`

That command will create a new directory and clone Nucleus into it. Next you need to point a virtual host to the `public/` directory and ensure that `logs/` is writeable by your web server user.

Fetch the required NPM modules:

`npm install`

Copy `config/env.dist` to `config/.env` and edit that file with all of your required configuration values.

Next run the initial database migration to create the schema and populate some initial data:

`php vendor/bin/phinx migrate -e development`

If you want to insert the data that I initially use (some users and role associations) run the following:

`php vendor/bin/phinx seed:run -s GlobalSettings`

`php vendor/bin/phinx seed:run -s Users`

`php vendor/bin/phinx seed:run -s Roles`

`php vendor/bin/phinx seed:run -s RoleUser`

Use the CLU utility to deploy the default template:

`bin/nucleate build`

Finally, update `composer.json` to reflect your application's details.

### CLI Utility

[](#cli-utility)

v1.0.1-beta introduces a new semi-experimental feature -- a CLI command runner. The first functionality provider is that of a wrapper around those CLI scripts provided by other packages.

To run Phinx commands:

`bin/nucleate db migrate -e development`

To run PHPUnit:

`bin/nucleate test`

To run PHPCS:

`bin/nucleate cs -n --standard=PSR1,PSR2 src/`

`bin/nucleate csfix -n --standard=PSR1,PSR2 src/`

Anything else is passed directly through to the command runner. Commands are defined in `src/Helpers/Commands` and extend the BaseCommand class.

More information about commands can be found here: (Note: I have chosen to use the nomenclature "command" rather than "task" for the sake of consistency.)

### Contact

[](#contact)

Email:

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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 ~37 days

Total

2

Last Release

3043d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1250796?v=4)[Cody Erekson](/maintainers/CodyErekson)[@CodyErekson](https://github.com/CodyErekson)

---

Top Contributors

[![CodyErekson](https://avatars.githubusercontent.com/u/1250796?v=4)](https://github.com/CodyErekson "CodyErekson (170 commits)")

---

Tags

phpapiframeworktwigslimbootstrap

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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