Download the PHP package level-level/clarkson-core without Composer
On this page you can find all versions of the php package level-level/clarkson-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download level-level/clarkson-core
More information about level-level/clarkson-core
Files in level-level/clarkson-core
Package clarkson-core
Short Description A plugin to write Object-Oriented code in combination with the Twig templating engine while keeping the WordPress Way of working in mind.
License GPL-2.0-or-later
Informations about the package clarkson-core
Clarkson Core
A plugin to write Object-Oriented code in combination with the Twig templating engine while keeping the WordPress Way of working in mind.
Documentation and getting started
Check out the getting started with Clarkson Core guide if you are just getting to know the project.
Overview
Installation
or read the installation guide.
Template Hierachy
Uses the internal Template Hierarchy so you can replace index.php
with index.twig
or archive-company.php
with archive-company.twig
and still have all Posts or CPT's available in "The Loop".
Autoloading of WordPress-object classes per Custom Post Type.
It autoloads default objects that behave just like WP_Post
and other native WordPress object but with some more handy stuff.
When you register a Custom Post Type ll_company
your custom class ll_company
gets loaded in the Twig context as objects
variable within the archive-company.twig
.
Read up on Clarkson objects and how they are initiated.
More documentation
Tests
Currently
- Clone repository
[email protected]:level-level/Clarkson-Core.git clarkson-core
. - Run
composer install
in the newclarkson-core
directory. - Run
composer run test
.
All versions of clarkson-core with dependencies
twig/twig Version ^3.1
twig/string-extra Version ^3.1
twig/intl-extra Version ^3.1
twig/html-extra Version ^3.1
twig/markdown-extra Version ^3.1