Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Static Site Generator

Build Status Quality Score Software License

Create a static version of the site

Install

Via Composer

composer require getpop/static-site-generator

Usage

Initialize the component:

\PoP\Root\ComponentLoader::initializeComponents([
    \PoP\SSG\Component::class,
]);

PHP versions

Requirements:

  • PHP 7.4+ for development
  • PHP 7.1+ for production

Supported PHP features

Same as the Supported PHP features for getpop/root

Downgrading code to PHP 7.1

Via Rector (dry-run mode):

composer downgrade-code

Standards

PSR-1, PSR-4 and PSR-12.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

composer test

Static Analysis

Execute phpstan with level 8:

composer analyse

To run checks for level 0 (or any level from 0 to 8):

./vendor/bin/phpstan analyse -l 0 src tests

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Create a static version of the site

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.