PHPackages                             alcidesrc/php-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. [Framework](/categories/framework)
4. /
5. alcidesrc/php-skeleton

ActiveProject[Framework](/categories/framework)

alcidesrc/php-skeleton
======================

Application skeleton for projects based on PHP

1.0.11(6mo ago)161MITMakefilePHP ^8.4CI passing

Since Jun 21Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/AlcidesRC/php-skeleton)[ Packagist](https://packagist.org/packages/alcidesrc/php-skeleton)[ Fund](http://www.paypal.me/AlcidesRC)[ GitHub Sponsors](https://github.com/AlcidesRC)[ RSS](/packages/alcidesrc-php-skeleton/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (8)Versions (13)Used By (0)

[![Continuous Integration](https://github.com/AlcidesRC/php-skeleton/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/AlcidesRC/php-skeleton/actions/workflows/ci.yml)

PHP Skeleton
============

[](#php-skeleton)

> An application skeleton for modern PHP projects, PoC, side-projects...

\[TOC\]

Summary
-------

[](#summary)

This repository contains an application skeleton following best practices.

### Highlights

[](#highlights)

- Minimalist project
- Includes frequently used tools such as a **Linter**, **PHPStan**, **PHPUnit**, **CodeSniffer** and **VarDumper**.

Requirements
------------

[](#requirements)

To use this repository you need:

### Software

[](#software)

- [Git](https://git-scm.com/) - The free and open source distributed version control system.

Built with
----------

[](#built-with)

This project was built with [Dockerized PHP](https://github.com/alcidesrc/dockerized-php), a lightweight dockerized environment to build PHP applications.

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

[](#getting-started)

Just clone the repository into your preferred path:

```
$ mkdir -p ~/path/to/my-new-project && cd ~/path/to/my-new-project
$ git clone git@github.com:alcidesrc/php-skeleton.git .
```

### Conventions

[](#conventions)

#### Directory structure

[](#directory-structure)

```
.
├── app                 # Your application business logic goes here
├── composer.json       # Application dependencies main file
├── composer.lock       # Application dependencies locked file
├── LICENSE
├── Makefile
├── phpcs.xml           # PHPCS configuration file
├── phpstan.neon        # PHPStan configuration file
├── phpunit.xml         # PHPUnit configuration file
├── public              # Public folder
├── README.md
├── tests               # Tests folder
└── vendor

```

#### Composer commands

[](#composer-commands)

Custom commands are added to `composer.json` under the `scripts` section.

##### Available commands

[](#available-commands)

CommandDescription`linter`Runs the linter in parallel mode`phpcs`Runs **PHP Check Style** command following the PSR-12`phpcbf`Runs **PHP Code Beautifier** and **Fixer** command following the PSR-12`phpstan`Runs **PHPStan** with the specs defined at `phpstan.neon` configuration file`phpunit`Runs **PHPUnit** with the specs defined at `phpunit.xml` configuration file`tests`Runs **PHPUnit** without code coverage support`coverage`Runs **PHPUnit** with **PCOV** code coverage support#### Makefile

[](#makefile)

Additionally a *Makefile* is provided with frequently used commands:

```
~/path/to/my-new-project$ make

╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║                                                                                                ║
║ 	                                 .: AVAILABLE COMMANDS :.                                    ║
║                                                                                                ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝

· composer-dump                  Composer: executes  inside the container
· composer-install               Composer: executes  inside the container
· composer-remove                Composer: executes  inside the container
· composer-require-dev           Composer: executes  inside the container
· composer-require               Composer: executes  inside the container
· composer-update                Composer: executes  inside the container
· check-syntax                   QA: executes  inside the container
· check-style                    QA: executes  inside the container
· fix-style                      QA: executes  inside the container
· phpstan                        QA: executes  inside the container
· test                           QA: executes  inside the container
· coverage                       QA: executes  inside the container
```

##### Installing Dependencies

[](#installing-dependencies)

```
$ make composer-install
```

##### Running the Test Cases

[](#running-the-test-cases)

```
$ make test
```

#### Volumes

[](#volumes)

##### Coverage report in HTML

[](#coverage-report-in-html)

Coverage report in HTML is generated on a root folder `/.coverage`

Tip

If you want the report is generated on a different path, just update accordingly the `composer.json` file under the section `scripts`

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review our security policy on how to report security vulnerabilities:

**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY**

### Supported Versions

[](#supported-versions)

Only the latest major version receives security fixes.

### Reporting a Vulnerability

[](#reporting-a-vulnerability)

If you discover a security vulnerability within this project, please [open an issue here](https://github.com/alcidesrc/php-skeleton/issues). All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](./LICENSE) file for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance70

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~49 days

Recently: every ~108 days

Total

12

Last Release

203d ago

PHP version history (2 changes)1.0.2PHP ^8.3

1.0.10PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac46b16e9e44092d94c7346f48abb796b38f2ca9553bd264cea563fc4854644b?d=identicon)[AlcidesRC](/maintainers/AlcidesRC)

---

Top Contributors

[![AlcidesRC](https://avatars.githubusercontent.com/u/1401102?v=4)](https://github.com/AlcidesRC "AlcidesRC (32 commits)")

---

Tags

boilerbootstrapclean-codephpquality-assuranceskeletontddphpTDDboilerplatebootstrapSkeletonclean codedddBest-Practices

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alcidesrc-php-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/alcidesrc-php-skeleton/health.svg)](https://phpackages.com/packages/alcidesrc-php-skeleton)
```

PHPackages © 2026

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