PHPackages                             svp1989/symfony-api-skeleton - 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. svp1989/symfony-api-skeleton

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

svp1989/symfony-api-skeleton
============================

Symfony api skeleton based on symfony-flex, api-platform, JWT etc.

11361[5 issues](https://github.com/svp1989/symfony-api-skeleton/issues)PHP

Since Apr 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/svp1989/symfony-api-skeleton)[ Packagist](https://packagist.org/packages/svp1989/symfony-api-skeleton)[ RSS](/packages/svp1989-symfony-api-skeleton/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

symfony-api-skeleton
====================

[](#symfony-api-skeleton)

JSON REST API simple skeleton based on symfony-flex, JWT, api-platform, fosuserbundle etc.

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

[](#installation)

### 1. Clone repository

[](#1-clone-repository)

Create project :

```
composer create-project svp1989/symfony-api-skeleton:@dev
```

Or clone repository from GitHub:

```
git clone https://github.com/svp1989/symfony-api-skeleton.git
```

### 2. Dependencies installation

[](#2-dependencies-installation)

Install all needed dependencies:

```
composer install
```

### 3. Create JWT auth keys

[](#3-create-jwt-auth-keys)

Create JWT auth keys and configure `.env`:

```
ssh-keygen -t rsa -b 4096 -f private.pem
openssl rsa -in private.pem -pubout -outform PEM -out public.pem
```

### 4. Configuration

[](#4-configuration)

Create `.env` file, which contains all the necessary environment variables that application needs:

```
cp .env.dist .env
```

### 5. Create database

[](#5-create-database)

Create database and upload fixtures:

```
bin/console doctrine:database:create
bin/console doctrine:schema:create
bin/console doctrine:fixtures:load
```

### 6. Start server

[](#6-start-server)

Start server and open in the browser :

```
bin/console server:start
```

Authorisation
-------------

[](#authorisation)

Go to route /api/login:
**ROLE\_USER**:
\--username:**user**
\--password:**user**

**ROLE\_ADMIN**
\--username:**admin**
\--password:**admin**

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

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/6f6f9bcfe63b72543fb6f9773484e5a0208059deca6d0ef62c1af44e469c55cf?d=identicon)[svp123](/maintainers/svp123)

---

Top Contributors

[![svp1989](https://avatars.githubusercontent.com/u/12052064?v=4)](https://github.com/svp1989 "svp1989 (21 commits)")

---

Tags

fosuserbundlejwtrest-apisymfony-flexsymfony4

### Embed Badge

![Health badge](/badges/svp1989-symfony-api-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/svp1989-symfony-api-skeleton/health.svg)](https://phpackages.com/packages/svp1989-symfony-api-skeleton)
```

###  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)
