PHPackages                             iamfredric/platon-theme - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. iamfredric/platon-theme

ActiveProject

iamfredric/platon-theme
=======================

Wordpress theme starter kit

015PHP

Since Aug 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/iamfredric/platon-theme)[ Packagist](https://packagist.org/packages/iamfredric/platon-theme)[ RSS](/packages/iamfredric-platon-theme/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Platon wordpress starter theme
==============================

[](#platon-wordpress-starter-theme)

Platon is yet another framework that goes on top of Wordpress, heavily inspired by Laravel Platon makes Wordpress object oriented, with some smart automagic added to it.

### Installation

[](#installation)

- `composer create-project iamfredric/platon-theme your-path --stability=dev`
- Replace all occurances of \[THEME\_TITLE\] with the title of your theme. (style.css + config/app.php)
- Replace all occurances of \[THEME\_SLUG\] with the slug of your theme. (style.css + config/app.php)

#### Routing

[](#routing)

Normally, WordPress decides what template to render by looking at your file names.

In platon, this works. However, it's not the idea. Instead, there are a routes/web.php-file where we define routes.

The routes correspond with the wordpress template naming scheme.

```
