Installation - Anunatak/framework GitHub Wiki

Requirements

  • PHP 5.5.9 or greater
  • Composer

Installation

Install using Composer

composer require anunatak/framework

Load the files

require_once 'vendor/autoload.php';

Intialize the framework like so.

use Anunatak\Framework\Framework;

Framework::initialize(array(
	'text_domain' => 'anunaframework',
	'namespace'   => 'MyAwesome\Plugin\Namespace,
	'file'        => __FILE__,
	'dir'         => __DIR__,
	'version'     => '1.0.0',
	'slug'        => 'anunaframework'
));