D2 Core for PHP7+

0.0.4 2019-03-26 22:26 UTC

This package is auto-updated.

Last update: 2024-04-27 12:43:45 UTC


README

D2 is a lightweight PHP framework core which can be used as Composer project to create your own software.

How to get it?

  • You can use git clone to get it from GitHub
  • You can use Composer to require it: composer require nhujanen/d2c

Requirements

D2 requires PHP 7.0 and is built over some other packages.

  • [zendframework/zend-config] - Used in core configuration
  • [zendframework/zend-db] - Used in ActiveRecord
  • [zendframework/zend-diactoros] - Used in core request-response -routing
  • [ramsey/uuid] - Used for UUID generation
  • [filp/whoops] - Used for debugging
  • [aura/router] - Used for routing
  • [leafo/scssphp] - Used for realtime SCSS compiling
  • [matthiasmullie/minify] - Used for realtime JS / CSS minifying

What's up - why to use?

  • Crypted sessions on database with custom session handling.
  • Powerful ORM implementation with query builder & schema generator.
  • Support for mixed CMS & MVC -mode.
  • SCSS made easy - no more precompiling.
  • Most straightforward View-Controller -implementation out there.
  • Major CSS styling included (in SCSS ofc).
  • Flexible routing.

How to help?

At this point D2P is a one-man show. Architecture WILL be changed and some parts will be rewritten for sure.

NOTICE!

Please do not use D2 in production before version 1.0.0 is released!

License

MIT