PHPackages                             pckg/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. pckg/skeleton

ActiveLibrary

pckg/skeleton
=============

Directory structure, required files and suggestions for /pckg

225[7 PRs](https://github.com/pckg/skeleton/pulls)PHP

Since Feb 27Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (8)Used By (0)

pckg/skeleton
=============

[](#pckgskeleton)

A clean start for every pckg project.

[![Build status](https://github.com/pckg/skeleton/workflows/Pckg%20Skeleton%20CI/badge.svg)](https://github.com/pckg/skeleton/workflows/Pckg%20Skeleton%20CI/badge.svg)

Features
========

[](#features)

- PHP 8.0 Framework with ORM, Migrations, Auth, Queue and I18n modules on the backend - [pckg](https://github.com/pckg)
- Webpack with VueJS ecosystem integration on the frontend - [pckg-app/frontend](https://github.com/pckg-app/frontend)and [pckg-app/frontend-dev](https://github.com/pckg-app/frontend-dev)
- Plug'n'play Docker images for Dev and Prod environments - [pckg/docker-images](https://github.com/pckg/docker-images)
- CI &amp; CD pipelines (Github Workflows) - `./github/workflows/`
- PHP Cloc, Stan, CS, Codeception and Mocha - `composer.json` and `package.json`

Dev environment
===============

[](#dev-environment)

The whole dev environment with system dependencies and some services is available in `schtr4jh/pckg:latest` Docker image.

```
$ docker run \
-v $PWD:/var/www/html \
-i -p 8072:443 \
-t schtr4jh/pckg:latest \
--restart=always /bin/bash

```

*See [pckg/docker-images](https://github.com/pckg/docker-images) for more info on configuration, parameters and services.*

Create a project
================

[](#create-a-project)

Create a project with composer and install all depencencies including dev.

`# composer create-project pckg/skeleton . -s dev --prefer-dist`

Install frontend dependencies.

`# yarn install`

Console
=======

[](#console)

See what `console` provides.

`# php console`

Available commands:

```
help Displays help for a command list Lists commands\
app\
**app:create**        Create new application\
cache\
**cache:clear**       Clear cache\
migrator\
**migrator:install**  Install migrations from envirtonment\

```

Create new application
======================

[](#create-new-application)

Create a directory structure for the new application.

`# php console app:create`

Answer to some questions and create a new app structure in the `app` directory.

Init the application
====================

[](#init-the-application)

Create static storage directories for the application.

`# php console project:init`

This will create the `storage` folder with some mandatory subfolders not included in GIT.

Access the application
======================

[](#access-the-application)

Open in web browser.

`https://localhost:8072/`

Directory structure
===================

[](#directory-structure)

- `vendor`, `components` and `node_modules` - dependency managers directories
- `www` - directory that will be exposed to the internet
- `storage` - directory for framework, cache, uploads, tmp and other private and public files
- `config` - root project configuration
- `app/$app/config` - app configuration
- `app/$app/src` - app source files
- `app/$app/public` - static assets (private, can be mounted to `www`)

*Note: it is recommended to disable discovery of dependency manager directories, `www` and `storage`.*

Test the application
====================

[](#test-the-application)

Runs mocha + codeception tests + static code analysis.

`# php console project:test`

More
====

[](#more)

Backend
-------

[](#backend)

- [pckg/framework](https://github.com/pckg/framework) - learn about application lifespan, console access, routing, requests, responses, templating and other framework concepts.
- [pckg/database](https://github.com/pckg/database) - learn about database and data-layer organization
- [pckg/migrator](https://github.com/pckg/migrator) - migrate your database structure, data and config
- [pckg/collection](https://github.com/pckg/collection) - more about data and collection manipulation
- [pckg/htmlbuilder](https://github.com/pckg/htmlbuilder) - more about form and request validation
- [pckg/manager](https://github.com/pckg/manager) - more about asset &amp; meta management
- [pckg/auth](https://github.com/pckg/auth) - more about local and remote authentication options
- [pckg/storage](https://github.com/pckg/storage) - mora about storage layer
- [pckg/translator](https://github.com/pckg/translator) - mora about i18n layer
- [pckg/queue](https://github.com/pckg/queue) - more about queue layer
- [pckg/locale](https://github.com/pckg/locale) - more about localization layer
- [pckg/cache](https://github.com/pckg/cache) - more about cache layer
- [pckg/httpql](https://github.com/pckg/httpql) - more about querying your data
- [pckg/mail](https://github.com/pckg/mail) - more about mail communication
- [pckg/websocket](https://github.com/pckg/websocket) - more about websocket server and client
- [pckg/tenant](https://github.com/pckg/tenant) - mora about multi-tenancy support
- [pckg/task](https://github.com/pckg/task) - mora about async task handling

Frontend
--------

[](#frontend)

- [pckg/helpers-less](https://github.com/pckg/helpers-less) - simple frontend LESS framework
- [pckg/helpers-js](https://github.com/pckg/helpers-js) - frontend Vue helpers
- [pckg/orm](https://github.com/pckg/orm) - simple JS ORM

More
----

[](#more-1)

- [pckg-app/demo-app](https://github.com/pckg-app/demo-app) - Demo app with feature presentation
- [pckg/docker-images](https://github.com/pckg/docker-images) - Docker images

Support
=======

[](#support)

[pckg/framework](https://github.com/pckg/framework)[pckg.org](https://pckg.org)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.6% 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/b94b3bcec679374372be12374d132c7852fcabf1cc6339763d81a63e384b74f3?d=identicon)[schtr4jh](/maintainers/schtr4jh)

---

Top Contributors

[![schtr4jh](https://avatars.githubusercontent.com/u/385801?v=4)](https://github.com/schtr4jh "schtr4jh (43 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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