glynnforrest / neptune
A PHP 5.4+ framework built on the Symfony HttpKernel.
Requires
- php: >=5.3.0
- danielstjules/stringy: 1.3.*
- doctrine/cache: 1.3.*
- glynnforrest/crutches: 0.2.*
- glynnforrest/reform: 0.3.*
- monolog/monolog: 1.7.*
- pimple/pimple: 2.0.*
- symfony/console: 2.4.*
- symfony/http-foundation: 2.4.*
- symfony/http-kernel: 2.4.*
Requires (Dev)
- glynnforrest/temping: 0.4.*
- ircmaxell/password-compat: 1.0.*
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2022-02-01 12:24:07 UTC
README
Neptune is a PHP 5.4+ framework built on the Symfony HttpKernel. It is designed to be quick and easy to use while allowing room for customization and expansion.
The framework originally started out as a hobby project, but has since found use in non-trivial applications too. I'm also using it as an example of my PHP skills to show potential clients and employers.
That being said, Neptune is not a toy project. It is built on solid, battle tested components and I intend to support it for the foreseeable future. The goal is to get it to version 1.0, where it will then be considered feature complete. This version will be supported with subsequent bugfixes and dependency updates.
Components overview
The framework is built on a set of robust, reusable components:
- Symfony HttpKernel - A solid foundation with many benefits.
- Pimple - A lightweight dependency injection container.
- Doctrine DBAL - A robust database abstraction layer.
- ActiveDoctrine - Active record using the Doctrine DBAL.
- Reform - Forms that render and validate with ease.
- Blockade - Firewall and security for the HttpKernel.
- Monolog - PSR-3 compatible logging for a variety of platforms.
Additional features
The framework itself boasts some cool features:
- A robust module system for structuring applications into reusable chunks.
- A straightforward yet powerful assets workflow, allowing for easy integration with build tools such as grunt and bower.
- Configuration anyone can understand, in PHP!
- An extensible PHP template system (twig is also available).
- A migration system that makes a distinction between different modules, built on the Doctrine DBAL. Add a new module without affecting the order of other migrations.
- A bunch of console commands for speeding up development and aiding deployment.
Documentation
See docs/ for documentation and usage examples.
Installation
Neptune is installed via Composer. To add it to your project, simply add it to your composer.json file:
{ "require": { "glynnforrest/neptune": "0.4.*" } }
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Run vendor/bin/neptune-install .
to setup a new application.
License
MIT, see LICENSE for details.
Copyright 2011 - 2014 Glynn Forrest