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

ActiveLibrary[Framework](/categories/framework)

newtron/core
============

Core framework package for Newtron

0.1.5(7mo ago)02011MITPHPPHP &gt;=8.3.0CI passing

Since Sep 27Pushed 7mo agoCompare

[ Source](https://github.com/newtron-framework/core)[ Packagist](https://packagist.org/packages/newtron/core)[ Docs](https://github.com/newtron-framework/core)[ RSS](/packages/newtron-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (9)Used By (1)

 [ ![newtron](https://raw.githubusercontent.com/newtron-framework/assets/master/newtron-logo.png) ](https;//newtron.app)

> This is the core framework package for Newtron.

About Newtron
-------------

[](#about-newtron)

Newtron is a PHP framework designed around the principle of complex features with embarrassingly simple code. It's built to solve real developer pain points by making common, complex tasks trivially simple:

- Automatic query optimization
- Progressive enhancement by default
- Embarrassingly simple forms
- Shared hosting friendly

Current Status
--------------

[](#current-status)

Newtron is currently a work in progress. In it's current state, Newtron can support simple static sites.

### ✅ Phase 1 Complete: Core foundation

[](#-phase-1-complete-core-foundation)

- Application container with dependency injection
- Request/Response abstraction
- Two routing modes (declarative or file-based)
- Middleware pipeline
- Quark, a custom templating engine
- Error handling and logging

### 🚧 Up Next: Developer experience improvements and the signature forms system

[](#-up-next-developer-experience-improvements-and-the-signature-forms-system)

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- Composer

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

[](#installation)

This is the core framework package. For new projects, use the starter template:

```
composer create-project newtron/app my-app
```

To use this core package in your own project:

```
composer require newtron/core
```

Documentation
-------------

[](#documentation)

WIP

Quick Example
-------------

[](#quick-example)

Newtron expects the following directories in its root path:

```
├── config/
├── routes/
└── templates/
```

```
