PHPackages                             hassankhan/sonic - 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. hassankhan/sonic

AbandonedArchivedLibrary[Framework](/categories/framework)

hassankhan/sonic
================

Sonic is a stupidly simple, blazing fast, flat-file CMS based on Pico

v0.6.1(12y ago)9221[12 issues](https://github.com/hassankhan/Sonic/issues)MITPHPPHP &gt;=5.3

Since Nov 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/hassankhan/Sonic)[ Packagist](https://packagist.org/packages/hassankhan/sonic)[ Docs](https://github.com/hassankhan/Zepto)[ RSS](/packages/hassankhan-sonic/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (1)Dependencies (7)Versions (7)Used By (0)

Sonic [![Latest Stable Version](https://camo.githubusercontent.com/a5b734e51d778fb4c8642a120be61b98dbdbf5b6f74f866bac07525d55782aed/68747470733a2f2f706f7365722e707567782e6f72672f68617373616e6b68616e2f736f6e69632f762f737461626c652e706e67)](https://packagist.org/packages/hassankhan/sonic) [![Total Downloads](https://camo.githubusercontent.com/fe2ed8134910ee2aae2c41a6d6441ab843e7733f7365c477dd0e091280bff3e3/68747470733a2f2f706f7365722e707567782e6f72672f68617373616e6b68616e2f736f6e69632f646f776e6c6f6164732e706e67)](https://packagist.org/packages/hassankhan/sonic) [![License](https://camo.githubusercontent.com/2946e7880d3eb5ed2db14a250ca028711e5abe4eff235bf806bcb5a91299ee58/68747470733a2f2f706f7365722e707567782e6f72672f68617373616e6b68616e2f736f6e69632f6c6963656e73652e706e67)](https://packagist.org/packages/hassankhan/sonic) [![SensioLabsInsight](https://camo.githubusercontent.com/c20430011ecc0252a771174f4693f752875da7a8fabf74d2219b81a57a2453f9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30633833303930392d303439392d343833332d623731652d6333643635396165313766632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/0c830909-0499-4833-b71e-c3d659ae17fc)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#sonic----)

MasterDevelop[![Build Status](https://camo.githubusercontent.com/984353978e3feb018411765e334143fae8b9428be6d769f9a630beeb9373b3f3/68747470733a2f2f7472617669732d63692e6f72672f68617373616e6b68616e2f536f6e69632e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/hassankhan/Sonic) [![Coverage Status](https://camo.githubusercontent.com/dd781e110f19927cb72057dd01f0f0f6634b1f8e52eccd60a71e092631806c86/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f68617373616e6b68616e2f536f6e69632f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/hassankhan/Sonic?branch=master) [![Dependency Status](https://camo.githubusercontent.com/ea6191429e4883ee45dede81a496cccb70da276473b5a14904031574c5737208/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533303931623235656331333735303661653030303031362f62616467652e706e67)](https://www.versioneye.com/php/hassankhan:sonic/0.6.1)[![Build Status](https://camo.githubusercontent.com/448fef3f647cfb170cb2bb1b5e9988bb0b72e4f45adb36a33e2be0376eb35629/68747470733a2f2f7472617669732d63692e6f72672f68617373616e6b68616e2f536f6e69632e706e673f6272616e63683d646576656c6f70)](https://travis-ci.org/hassankhan/Sonic) [![Coverage Status](https://camo.githubusercontent.com/b890b37b7bb066383bf077fb206644d2c1f64ca9287e9f47304615c8c1e0a7a5/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f68617373616e6b68616e2f536f6e69632f62616467652e706e673f6272616e63683d646576656c6f70)](https://coveralls.io/r/hassankhan/Sonic?branch=develop) [![Dependency Status](https://camo.githubusercontent.com/04354e1138db8f5025276f069ffee452ee6a19fb21937d2ef541002fb3bf0c87/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533303931623239656331333735386165653030303034302f62616467652e706e67)](https://www.versioneye.com/php/hassankhan:sonic/dev-develop)Sonic is a stupidly simple, blazing fast, flat-file CMS based on [Pico](//pico.dev7studios.com).

Sonic is a microCMS - this means there is no administration backend and database to deal with. You simply create `.md` files in the "content" folder and that becomes a page.

Its interface is *supposed* to be simple and is in process of documentation. Thank you for choosing Sonic for your next project.

Features
--------

[](#features)

- Uses [Markdown Extra](//michelf.ca/projects/php-markdown/extra/) for content parsing
- Uses a powerful(ish) [Slim](//slimframework.com/)/[Silex](//silex.sensiolabs.org/)-style router
    - Standard HTTP methods
    - Route parameters with wildcards and conditions
- Dependency injection container using [Pimple](//pimple.sensiolabs.org/)
- Template rendering using [Twig](//twig.sensiolabs.org/)
- Filesystem handling using [Flysystem](//flysystem.thephpleague.com/)
- [Atom](//en.wikipedia.org/wiki/Atom_(standard)) feed and tagged posts support
- HTTP caching
- Error handling and debugging
- Application hooks and extensible components for extending functionality
- Simple configuration
- Hilarious, snarky source code comments

Getting Started
---------------

[](#getting-started)

Refer to [Sonic Skeleton](//github.com/hassankhan/Sonic-Skeleton) for instructions on creating a new project with Sonic.

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

[](#documentation)

You can check out more in-depth documentation [here](//github.com/hassankhan/Sonic/wiki/Documentation).

How to Contribute
-----------------

[](#how-to-contribute)

### Pull Requests

[](#pull-requests)

1. Fork the Sonic repository
2. Create a new branch for each feature or improvement
3. Write tests so my precious code coverage doesn't decrease (too much)
4. Send a pull request from each feature branch to the **develop** branch

It's pretty important to separate new features or improvements into separate feature branches, and to send a pull request for each branch. This allows me to review and pull in new features or improvements individually.

### Style Guide

[](#style-guide)

- **No** extraneous whitespace. I hate it with a fucking vengeance
- Tabs should be set to **four** spaces
- Method names should be written in `snake_case()`, rather than `camelCase()`
- All source files should start with `
