PHPackages                             sakamoto/mvc - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sakamoto/mvc

ActiveTemplate[Authentication &amp; Authorization](/categories/authentication)

sakamoto/mvc
============

A project template close to how Laravel manages things to make creating new MVC projects with REST API and JWT support easier.

192PHP

Since May 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/aymenBenadra/SakamotoMVC)[ Packagist](https://packagist.org/packages/sakamoto/mvc)[ RSS](/packages/sakamoto-mvc/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)DependenciesVersions (1)Used By (0)

SakamotoMVC
===========

[](#sakamotomvc)

[![SakamotoMVC](https://camo.githubusercontent.com/ba4974908aaa6d6eceb405ec649af1ef0dbe3d66ebd4cc97ea8849a3410fb45e/68747470733a2f2f692e6962622e636f2f46346d7070516a2f53616b616d6f746f2d4d56432d636f7665722e706e67)](https://camo.githubusercontent.com/ba4974908aaa6d6eceb405ec649af1ef0dbe3d66ebd4cc97ea8849a3410fb45e/68747470733a2f2f692e6962622e636f2f46346d7070516a2f53616b616d6f746f2d4d56432d636f7665722e706e67)

Introduction
------------

[](#introduction)

SakamotoMVC (坂本MVC) is a simple yet powerful MVC framework for PHP, written in PHP. and it is made for simple and fast development of web applications and APIs.

Features
--------

[](#features)

SakamotoMVC has a lot of features out of the box and it is easy to use and customize. Some of the features are:

- PDO Database Binding
- ORM-like Model
- PSR-4 Autoloading
- Server-Side Rendering (SSR)
- API
- Dynamic Routing
- Authentification JWT + API KEY
- CRUD operations out of the box
- Scaffolding Examples
- Data Sanitization
- Data Validation with so many flags
- Straight-forward structure
- Improved performance
- And many more features for you to discover

Installation
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

```
composer create-project sakamoto/mvc [project-name] --stability dev
```

Navigate to the project folder:

```
> cd [project_name]
```

Install requirements:

```
> composer install
```

### Install via Github Cli

[](#install-via-github-cli)

Make sure you have PHP 8 or higher installed on your computer, install git and Github CLI (if you don't have it already).

Login with your Github account:

```
> gh auth login
```

Create a new repository with your project name and SakamotoMVC as the template:

```
> gh repo create [project_name] --template aymenBenadra/sakamotoMVC --[private, public, internal]
```

Clone the repository:

```
> gh repo clone [project_name]
```

Navigate to the project folder:

```
> cd [project_name]
```

Install requirements:

```
> composer install
```

Usage
-----

[](#usage)

1. Specify the project name in the composer.json file.
2. Add your routes in the routes.php file in the app/config directory of your project.
3. Create a new model using the Example Model template.
4. Create a new controller using the Example Controller template.
5. Add your Views in the views directory of your project.
6. optional: use the PsySH shell to test your project.

    ```
    php ./vendor/bin/psysh
    ```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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/95f8b7df0b42edbddd89d3a31dade719d58c95e3831c637d20883cdc8740fdb2?d=identicon)[aymenBenadra](/maintainers/aymenBenadra)

---

Top Contributors

[![aymenBenadra](https://avatars.githubusercontent.com/u/42623443?v=4)](https://github.com/aymenBenadra "aymenBenadra (47 commits)")

---

Tags

boilerplateeasy-to-useframeworkjwtmvcorm-modelphpphp8

### Embed Badge

![Health badge](/badges/sakamoto-mvc/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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