PHPackages                             slimore/slimore - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. slimore/slimore

ActiveLibrary[HTTP &amp; Networking](/categories/http)

slimore/slimore
===============

Slimore: Fully (H)MVC for Slim PHP Framwork.

0.1.0(10y ago)11564MITPHPPHP &gt;=5.4.0

Since Jun 7Pushed 10y ago3 watchersCompare

[ Source](https://github.com/slimore/slimore)[ Packagist](https://packagist.org/packages/slimore/slimore)[ Docs](http://github.com/pandao/slimore)[ RSS](/packages/slimore-slimore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Slimore
=======

[](#slimore)

The fully (H)MVC framework based on the [Slim PHP Framwork v2.6.x](https://github.com/slimphp/Slim) .

### Install

[](#install)

> Require php &gt;=5.4.0 .

composer.json :

```
{
	"require" : {
		"slimore/slimore" : "*"
	}
}
```

Install :

```
$ composer install

```

### Directory structure

[](#directory-structure)

Single module :

```
/
	app/
		controllers/
		models/
		views/
	configs/
		routes.php
		settigns.php
	public/
		.htaccess
		index.php
	vendor/
		...
	composer.json

```

Multi modules :

```
/
	app/
		frontend/
			controllers/
			models/
			views/
		backend/
			controllers/
			models/
			views/
		api/
			controllers/
			models/
			views/
		...
	configs/
		routes.php
		settings.php
	public/
		.htaccess
		index.php
	vendor/
		...
	composer.json

```

### Usige

[](#usige)

.htaccess :

```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

```

index.php :

```
