https://github.com/stenopephp/skeleton
Starter kit for content-based static site using Stenope
https://github.com/stenopephp/skeleton
hacktoberfest skeleton static stenope symfony
Last synced: 5 months ago
JSON representation
Starter kit for content-based static site using Stenope
- Host: GitHub
- URL: https://github.com/stenopephp/skeleton
- Owner: StenopePHP
- Created: 2022-09-13T08:44:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T10:02:36.000Z (over 1 year ago)
- Last Synced: 2025-05-29T13:14:37.828Z (7 months ago)
- Topics: hacktoberfest, skeleton, static, stenope, symfony
- Language: PHP
- Homepage: https://stenopephp.github.io/skeleton
- Size: 4.16 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stenope Skeleton
This skeleton is an opinionated starter kit for creating your static website
with [Stenope](https://stenopephp.github.io/Stenope/).
It contains [a few features](https://stenopephp.github.io/skeleton/articles/guide#what-s-inside) to get you started
if you plan to create a content website from scratch along with the following stack:
- Symfony 6.4
- Symfony AssetMapper
- Sass
- Lint / CS (php-cs-fixer, phpstan, eslint, …)
- Glide integration for images resizing
- and more…
## Create a new project
Start a new app from scratch using this skeleton with:
```shell
composer create-project stenope/skeleton -s dev
```
## Prerequisites
Either:
- Node 16+,
- PHP 8.1+
- [Symfony CLI](https://symfony.com/download)
- Composer
- Make
## Setup
Install the dependencies using
```shell
make install
```
## Dev
Start a server using
```shell
make serve
```
The Symfony CLI exposes you the URL at which the site is available.
> **Note**
> `make serve` is enough to serve both PHP app and assets.
> You're ready to dev!
## Build
### Assets
```shell
make build.assets
```
### Content
```shell
make build.content
````
### Assets+Content
Build the whole static site from source, with assets:
```shell
make build.static
```
Serve the static version using:
```shell
make serve.static
```
## Going further
Learn more about this skeleton by browsing its content.