PHPackages                             shutterstock/basecoat - 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. shutterstock/basecoat

ActiveLibrary[Framework](/categories/framework)

shutterstock/basecoat
=====================

Basecoat Framework, a PHP base framework

1.0.1(12y ago)422311[1 issues](https://github.com/shutterstock/basecoat/issues)[2 PRs](https://github.com/shutterstock/basecoat/pulls)PHPPHP &gt;=5.3.0

Since Feb 1Pushed 8y ago44 watchersCompare

[ Source](https://github.com/shutterstock/basecoat)[ Packagist](https://packagist.org/packages/shutterstock/basecoat)[ Docs](https://github.com/shutterstock/basecoat)[ RSS](/packages/shutterstock-basecoat/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Why Another PHP Framework?
--------------------------

[](#why-another-php-framework)

The most popular frameworks are tending towards large code bases that almost require caching and a code accelerator, like APC, in order to perform well. There is also a tendency towards using static classes and variables. Finally, most frameworks force you to adopt their conventions and write your code "under" their framework. Basecoat is an effort to create a small (~2,000 lines of code), fast, static free framework that can be loaded as an instance. It makes no assumptions on how your code is structured. This makes migrating from an old code base very feasible. Your old code can run along side the framework while migrating. Acceleration and caching is not a necessity for good performance (500+ pages/sec out of the box).

Overview
--------

[](#overview)

Basecoat is designed to cover the basics: MVC, Front Controller, Templating, and Database abstraction. It is designed to be "included" in your code and using it as a full framework is optional. This allows one to build parts of a website in the framework and migrate over time. It does not enforce a coding style, naming convention, or have many dependencies. Basecoat is designed to be a centralized core code base that websites are built on. The same core code base can be loaded by many different web sites and/or applications. The configurations that dictate the framework's behavior are part of the your web site code, not the framework. Pulling in updates won't overwrite any of your own code. The entire framework is about 5 files and 2,000 lines of code. It comes with a quick start site template to get you started almost immediately. Performance is quite good, handling many hundreds of pages per second with no accelerators or caching. It requires no special setup or configuration, not even mod\_rewrite. It can be configured to use parameter based URLs or if you want "pretty urls" using mod\_rewrite or something similar.

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

[](#documentation)

To get started, simply download the framework, including the examples. Place the whole framework in a web accessible directory and point your browser at basecoat/examples/docs/public/. The documentation is written using the framework, so you can view the code and see how it is working while you read through the documentation. The documentation is the same as that contained in the Wiki pages. Once you are comfortable with the setup, you can move the framework directory to a centralized location that is not web accessible. The start building your web site(s)!

Quickstart
----------

[](#quickstart)

There is a quickstart directory in the examples directory that can be used as a template for creating new websites. Simply make a copy of the quickstart directory and modify it to fit the needs to your new website. 1. Make a copy of the quickstart directory and put it wherever you want your website
2. Edit the public/index.php to load basecoat.php from the proper location

Load your new site by pointing your browser at the public directory of your new site. License
-------

[](#license)

[MIT](LICENSE) © 2011-2017 Shutterstock Images, LLC

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 77.5% 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.

###  Release Activity

Cadence

Every ~286 days

Total

2

Last Release

4564d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8b596b5f9021aebc6f723f8b59d53ea2186f6a7c61f80989a140db082db632d?d=identicon)[Bar\_Code](/maintainers/Bar_Code)

---

Top Contributors

[![bbaisley](https://avatars.githubusercontent.com/u/1406700?v=4)](https://github.com/bbaisley "bbaisley (55 commits)")[![jacobemerick](https://avatars.githubusercontent.com/u/527814?v=4)](https://github.com/jacobemerick "jacobemerick (6 commits)")[![RichardLitt](https://avatars.githubusercontent.com/u/910753?v=4)](https://github.com/RichardLitt "RichardLitt (5 commits)")[![stefanhayden](https://avatars.githubusercontent.com/u/87616?v=4)](https://github.com/stefanhayden "stefanhayden (3 commits)")[![omnicolor](https://avatars.githubusercontent.com/u/206237?v=4)](https://github.com/omnicolor "omnicolor (2 commits)")

---

Tags

microframeworkphpframeworkroutertraversalhierchical

### Embed Badge

![Health badge](/badges/shutterstock-basecoat/health.svg)

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

###  Alternatives

[slim/slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

12.2k49.9M1.3k](/packages/slim-slim)[developermarius/simple-router

Simple, fast PHP router that is easy to get integrated and in almost any project. Heavily inspired by the Laravel router.

112.4k](/packages/developermarius-simple-router)

PHPackages © 2026

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