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…
Start a new app from scratch using this skeleton with:
composer create-project stenope/skeleton -s dev
Either:
- Node 16+,
- PHP 8.1+
- Symfony CLI
- Composer
- Make
Install the dependencies using
make install
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!
make build.assets
make build.content
Build the whole static site from source, with assets:
make build.static
Serve the static version using:
make serve.static
Learn more about this skeleton by browsing its content.