Skip to content

StenopePHP/skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stenope Skeleton

This skeleton is an opinionated starter kit for creating your static website with Stenope.

It contains a few features 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:

composer create-project stenope/skeleton -s dev

Prerequisites

Either:

Setup

Install the dependencies using

make install

Dev

Start a server using

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

make build.assets

Content

make build.content

Assets+Content

Build the whole static site from source, with assets:

make build.static

Serve the static version using:

make serve.static

Going further

Learn more about this skeleton by browsing its content.