PHPackages                             anunatak/anunatheme - 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. anunatak/anunatheme

ActiveWordpress-theme

anunatak/anunatheme
===================

112CSS

Since Jan 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Anunatak/anunatheme)[ Packagist](https://packagist.org/packages/anunatak/anunatheme)[ RSS](/packages/anunatak-anunatheme/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (5)Used By (0)

AnunaTheme
==========

[](#anunatheme)

AnunaTheme is a WordPress starter-theme based on Sage, flavoured with Laravel Blade.

If you are looking for a complete production-ready theme, move along. AnunaTheme is a skeleton and contains a bare minimum of styles, and acts as a starting point for developers.

Features
--------

[](#features)

- [Sage](https://github.com/roots/sage)
- [Laravel Blade](http://laravel.com/docs/blade)
- [jQuery DOM Router](https://github.com/tormjens/jquery-dom-router)
- [Gulp](http://gulpjs.com)
- [Foundation for Sites 6](http://foundation.zurb.com/sites/docs/)
- Off Canvas Menu
- [CoffeeScript](http://coffeescript.org/)
- [Browserify](http://browserify.org/)
- [Bourbon](http://bourbon.io/)

Requirements
------------

[](#requirements)

PrerequisiteHow to checkHow to installPHP &gt;= 5.4.x`php -v`[php.net](http://php.net/manual/en/install.php)Node.js 0.12.x`node -v`[nodejs.org](http://nodejs.org/)gulp &gt;= 3.8.10`gulp -v``npm install -g gulp`Bower &gt;= 1.3.12`bower -v``npm install -g bower`Composer`composer --version`[getcomposer.org](http://getcomposer.org)Ajax Requests
-------------

[](#ajax-requests)

In AnunaTheme AJAX is made really simple.

### PHP

[](#php)

On the server side, in your `lib/ajax.php`

```
Ajax::create('my_cool_action', function($request) {
	echo $request->get('cool_parameter_from_request');
});
```

The `$request` object is an instance of `Symfony\Component\HttpFoundation\Request`. [Check out the documentation](http://symfony.com/doc/current/components/http_foundation/introduction.html#accessing-request-data) for usage instructions.

### CoffeeScript

[](#coffeescript)

On the client side, in your `assets/scripts/plugins/routes.coffee`:

```
new Ajax 'my_cool_action', ( (response) ->
	console.log response
),
	cool_parameter_from_request: 'You are cool!'
```

The client side Ajax class accepts the following parameters:

- `action`: The action to send the request to.
- `callback`: A callback function.
- `data` (optional): An object of data
- `method` (optional): The method to use for the request. Defaults to `'GET'`

404 Page
--------

[](#404-page)

We've incorporated a fun 404 page in the theme. When your visitors lands somewhere that doesn't exist they can play the ever popular [Snake game](https://github.com/ncpierson/Snake). The code behind it courtesy of [Nick Pierson](http://nickpierson.me), which developed the game while becoming more familiar with JavaScript. We've made some minor adjustments which allows us to modify colors and listen for events. See [the Github page for the plugin](https://github.com/tormjens/jquery-snake).

DOM Based Routing
-----------------

[](#dom-based-routing)

Sage has this thing they call DOM Based routing. In AnunaTheme you can route your stuff in the same way, except we are using this awesome jQuery-plugin called [jquery-dom-router](https://github.com/tormjens/jquery-dom-router).

We've set this up so you can add your dom routes in `assets/scripts/plugins/routes.coffee`.

Blade
-----

[](#blade)

Blade is the template language of the excellent Laravel framework. Anunablade bases all of its templates on it, thanks to [Blade for Wordpress](https://github.com/tormjens/wp-blade).

All theme-files are "Bladed" and ready to be used with the Blade syntax. Since Blade sort of acts like it's own theme wrapper we've removed Sage's wrapper.

See for example the `index.php`-file for an example on how to extend upon layouts.

All template files are located in the `templates`-directory. The folder `cache` acts as a cache for WordPress template files (e.g. all template files that WordPress' template hierarchy searches for).

Gulp
----

[](#gulp)

In the themes gulpfile there are several tasks defined for a great workflow.

- `images` will optimize images located in `assets/images`.
- `scripts` will compile the CoffeeScript and Browserify.
- `styles` will compile the SCSS.
- `watch` will watch files and run tasks when they are needed.

When developing source maps are created, and the output will not be minified (`styles` and `scripts`). To create a production-ready file, simply add the `--production` argument when running gulp (`gulp --production`)

Naming Conventions
------------------

[](#naming-conventions)

All functions in AnunaTheme are named by Sage's naming conventions. Meaning that they are namespaced.

### Renaming to your theme

[](#renaming-to-your-theme)

To use your own theme name instead, do the following search and replace in all files from the root of your project.

1. Namespaces: Search for `AnunaTheme\` (case sensitive) and replace with `YourNamespace\`
2. Text-Domains: Search for `'anunatheme'` (case sensitive) and replace with `'your-textdomain'`
3. Theme Name: Search for `AnunaTheme` (case sensitive) and replace with `Your Theme Name`

Getting Started
---------------

[](#getting-started)

1. Install Composer dependencies: `composer install`
2. Install NPM packages: `[sudo] npm install`
3. Install Bower dependencies: `bower install`
4. Run Gulp for the first time: `gulp watch` (For more options see the documentation)

Documentation
-------------

[](#documentation)

Sage documentation is available at .

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/16b2089f55ff5ab3154ef21caec78446d23b1515cc074d2d1c2bf184a9e64603?d=identicon)[tormjens](/maintainers/tormjens)

---

Top Contributors

[![tormjens](https://avatars.githubusercontent.com/u/3974889?v=4)](https://github.com/tormjens "tormjens (1 commits)")

### Embed Badge

![Health badge](/badges/anunatak-anunatheme/health.svg)

```
[![Health](https://phpackages.com/badges/anunatak-anunatheme/health.svg)](https://phpackages.com/packages/anunatak-anunatheme)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
