PHPackages                             sy/project - 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. sy/project

ActiveProject

sy/project
==========

Project template

6.5.0(6mo ago)040[1 issues](https://github.com/syframework/project/issues)MITHTML

Since Jan 29Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/syframework/project)[ Packagist](https://packagist.org/packages/sy/project)[ RSS](/packages/sy-project/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (99)Used By (0)

sy/project
==========

[](#syproject)

A skeleton to start a new website. Build with [sy/bootstrap](https://github.com/syframework/bootstrap)

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

[](#requirements)

- Docker

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

[](#installation)

Start a new project with

```
composer create-project sy/project [DIRECTORY]

```

Create configuration files
--------------------------

[](#create-configuration-files)

A command line interface will guide you for generating these configuration files when you create a new project.

Create the file \[DOCUMENT ROOT\]/protected/conf/database.ini

Example:

```
host = localhost
port = 3306
dbname = mydatabase
username = myuser
password = mypassword
charset = utf8mb4

```

Create the file \[DOCUMENT ROOT\]/protected/conf/smtp.ini

Example:

```
host = smtp.gmail.com
username = user@example.com
password = mypassword
port = 587
encryption = tls

```

Create database
---------------

[](#create-database)

When a new project is created, the database is created with this SQL script: `protected/sql/V1__init.sql`

We use [Flyway](https://flywaydb.org/) to manage database changes. Here is the composer custom command:

```
composer db [FLYWAY COMMAND]

```

Flyway commands:

- migrate
- info
- repair
- clean
- validate
- baseline

Example:

```
composer db migrate

```

Build CSS &amp; JS
------------------

[](#build-css--js)

We have a composer custom command for building CSS and JS assets:

```
composer build

```

But it's recommended to install NodeJS and Gulp if you have to rebuild frequently the CSS or JS.

Go to the project folder and install project dependencies

```
npm install

```

To build css (`protected/scss/app.scss` -&gt; `assets/css/app.css`)

```
gulp css

```

To build js (`protected/js/*.js` -&gt; `assets/js/app.js`)

```
gulp js

```

Check/format PHP coding style
-----------------------------

[](#checkformat-php-coding-style)

Check the coding style

```
composer check [FILE or DIRECTORY]

```

Format the coding style

```
composer format [FILE or DIRECTORY]

```

Example:

```
composer format protected/src

```

Coding standard ruleset used: [sy/coding-standard](https://github.com/syframework/coding-standard)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance66

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 99% 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 ~18 days

Recently: every ~53 days

Total

97

Last Release

208d ago

Major Versions

1.1.1 → 2.0.02021-05-08

2.3.0 → 3.0.02021-12-07

3.5.1 → 4.0.02022-07-29

4.8.0 → 5.0.02023-04-21

5.5.6 → 6.0.02024-04-15

### Community

Maintainers

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

---

Top Contributors

[![Syone](https://avatars.githubusercontent.com/u/1608813?v=4)](https://github.com/Syone "Syone (287 commits)")[![michaelchan-sellzone](https://avatars.githubusercontent.com/u/82180716?v=4)](https://github.com/michaelchan-sellzone "michaelchan-sellzone (3 commits)")

### Embed Badge

![Health badge](/badges/sy-project/health.svg)

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

PHPackages © 2026

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