jshmrrsn / bones

A bare bones PHP framework from scratch, for fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

practice

An exercise in creating a simple MVC task app and a barebones, "core" framework from scratch...

Includes basic:

  • Routing
  • Namespacing
  • Dependency Injection Container
  • Composer Autoloading

Installation

Update config.php for your environment.

Run composer install.

Create database table tasks with columns for id (INT), description (TEXT), and completed (TINYINT).

Notes:

  • No, I do not typically roll a custom framework... this was an exercise. And it was fun. In a "production" project, I recommend and use Laravel.
  • The frontend is non-existant at this point... I am using the Foundation framework for just basic formatting at this point.
  • Hope to add more features soon.

Credits: Source for this exercise is based on the excellent series "The PHP Practitioner" by Laracasts.

About

A bare bones PHP framework from scratch, for fun.


Languages

Language:PHP 99.0%Language:CSS 1.0%