PHPackages                             kzima/slimbone - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kzima/slimbone

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kzima/slimbone
==============

Biolerplate that helps developers build better apps with complex UI.

362JavaScript

Since Sep 6Pushed 12y agoCompare

[ Source](https://github.com/kzima/slimbone)[ Packagist](https://packagist.org/packages/kzima/slimbone)[ RSS](/packages/kzima-slimbone/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

slimbone
========

[](#slimbone)

To help developers build better apps with complex UI.

\##Primary Concepts

1. Restful API's
2. Easy to install, maintain and extend
3. Follows best practices
4. Separation of application logic and design
5. Does not force MVC pattern

\##What's included?

1. slim framework - for routing and data management
2. mongoDB - for flexible schema and collection storage
3. backbone - for javascript structure
4. underscore - utility library to help with javascript coding
5. requirejs - for javascript dependency management and module loading
6. composer - package manger for backend stuff
7. bower - package manager for frontend stuff
8. i18n - for localisation
9. twig - for better and more secure php templating
10. twitter bootstrap - for frontend development
11. font awesome - for vector icons
12. easy file structure - with separate template for admin and app
13. grunt - for improved workflow with js/css compilation

\##Quickstart

1. Clone it git clone  slimbone
2. Install php dependencies (including slim and twig) cd app composer install
3. \[optional\] update bower dependencies cd public bower update
4. change the "slimbone" name to your project name nano app/config/config.php

Also: If you are going to use grunt: nano public/Gruntfile.js

change slimbone\_app string to your own project name change slimbone\_admin string to your own project name change folder names in /public accordingly

\*Note: Please make sure your project folder names are different from your route name (add project name as a prefix) eg.in your app/router.php $app-&gt;get('/admin/' ... and in your public folder projectname\_admin projectname\_app

5. Enjoy!

\##Why slimbone? Right now there is no ideal solution that is flexible enough to build complex web apps more easily. I went through multiple php and javascript technologies and I would like to share my findings with you.

I was using Yii framework for a while and I realized MVC structure is not for me. I also found that Yii (v1.1) is not restful ready and in fairness I just used up to 20% of the framework's functionality in my development. I decided to switch to something lean.

I came across of Meteor js and I must admit that I really liked it. The concept of having an app built in pure javascript is very appealing. Unfortunately I don't think it's ready for production yet (v0.6.5) and I don't think I am ready to fully switch to javascript. I decided to save meteor to my bookmarks for now and I kept looking.

Then I tried Laravel, and ... it just didn't work for me. Again I was forced with the folder structure and I didn't have time to go through documentation and stack overflow on how to do things.

Then I checked Fat Free micro Framework and I found it very slim (only 55kb) and flexible. The only problem was that I was unable to manage FF3 dependency in composer.

So I followed the micro framework breadcrumb and I found Slim framework. Bingo! It's sleek, intuitive, easy to learn and very flexible. I put all the bits and pieces together and built this skeleton to save my time with the next app.

\##What can you do with slimbone? You can now focus on building apps with complex UI and save time thanks to separation of the design and application logic. For each new project you can now update all the dependencies in the frontend and backend much easier than before. You can build restful API's very quickly thanks to dynamic collection route mapping and mongoDB. It's so flexible that you can remove unwanted modules, replace and extend exitsing ones. It comes with Mongo support and folder structure that I think is easy to manage but feel free tho change it to your needs.

\##To do 1.add authentication module

\##Demo

\##Screenshots [![slimbone skeleton](https://camo.githubusercontent.com/e341653a173c912f0d54888078551acf7323bc89d98499609152dc80e054f303/687474703a2f2f736c696d626f6e652e6d6f73717569746f2e69652f75706c6f6164732f73637265656e73686f74312e6a7067)](https://camo.githubusercontent.com/e341653a173c912f0d54888078551acf7323bc89d98499609152dc80e054f303/687474703a2f2f736c696d626f6e652e6d6f73717569746f2e69652f75706c6f6164732f73637265656e73686f74312e6a7067)[![slimbone grunt](https://camo.githubusercontent.com/edb90a8ee772e1e2860429cd4dfeb7fcbd2464b825a5ab84b50912754cc98110/687474703a2f2f736c696d626f6e652e6d6f73717569746f2e69652f75706c6f6164732f73637265656e73686f74322e6a7067)](https://camo.githubusercontent.com/edb90a8ee772e1e2860429cd4dfeb7fcbd2464b825a5ab84b50912754cc98110/687474703a2f2f736c696d626f6e652e6d6f73717569746f2e69652f75706c6f6164732f73637265656e73686f74322e6a7067)

\##Resources ##Slim framework

Documentation

proposed folder structure for your app

\##Mongo DB install

\###Backbone

Backbone book online:

what does backbone extend do?

best practices

model, view, collection explained

simple hello world tutorial

todo app tutorial

another todo tutorial (backbone docs)

step by step tutorial

backbone views explained

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7466652a7f153779fe7f237eebfc6d01a0948be5ad8fea89bd999505b0843afe?d=identicon)[kzima](/maintainers/kzima)

---

Top Contributors

[![kzima](https://avatars.githubusercontent.com/u/5113125?v=4)](https://github.com/kzima "kzima (23 commits)")

### Embed Badge

![Health badge](/badges/kzima-slimbone/health.svg)

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

PHPackages © 2026

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