Download the PHP package pedrosancao/wordimpress without Composer
On this page you can find all versions of the php package pedrosancao/wordimpress. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pedrosancao/wordimpress
More information about pedrosancao/wordimpress
Files in pedrosancao/wordimpress
Package wordimpress
Short Description Static site generator library using Wordpress API as content source.
License MIT
Informations about the package wordimpress
Wordimpress
Static site generator library that uses Wordpress API as content source. The library still a prototype.
Key features
- uses Twig as template engine
- convert images to WebP format
- supports markdown to HTML
Dependencies
This package rely on these PHP extensions:
- GD
- DOM
- Inotify
Make sure you have them installed.
Usage
Add Wordimpress to your project using composer:
Create a class implementing PedroSancao\Wordimpress\Contracts\SiteInterface
, then implement other
interfaces on the namespace PedroSancao\Wordimpress\Contracts
to add more capabilities, some of them
have traits that implements the interface (PedroSancao\Wordimpress\BlogData\Has*Trait
).
Invoke wordpress command:
vendor/bin/wordimpress [options] classname
classname
is the full qualified name of the class implementing SiteInterface
The available options:
-p, --production
generate assets production-w, --watch
watch for changes to recompile--html-only
run only HTML generation (prevents-w
)
An example of usage is available on Bootstrap Template.
To do
Check the project's kanban board.
All versions of wordimpress with dependencies
ext-dom Version *
ext-gd Version *
ext-inotify Version *
twig/twig Version ^3.0
twig/intl-extra Version ^3.0
twig/markdown-extra Version ^3.0
erusev/parsedown Version ^1.7