PHPackages                             microphork/application - 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. [Framework](/categories/framework)
4. /
5. microphork/application

AbandonedArchivedLibrary[Framework](/categories/framework)

microphork/application
======================

The installer used to start a new microphork application

v1.0.0(12y ago)060PHP

Since Mar 24Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

microphork-application
======================

[](#microphork-application)

[![Latest Stable Version](https://camo.githubusercontent.com/28d09b5a2a411ea13eb5cdbc5eb0bc7b56ff7299e81b36cbe578bb50e2eaf3e4/68747470733a2f2f706f7365722e707567782e6f72672f6d6963726f70686f726b2f6170706c69636174696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/microphork/application)[![Latest Unstable Version](https://camo.githubusercontent.com/da4cfc9687f99082e9e811460bd2d4e72b4802c77bc3621f25fbb326115b2a32/68747470733a2f2f706f7365722e707567782e6f72672f6d6963726f70686f726b2f6170706c69636174696f6e2f762f756e737461626c652e706e67)](https://packagist.org/packages/microphork/application)[![Total Downloads](https://camo.githubusercontent.com/e54631b26169e23bd3dd40cd3020aeed1923a4bf0d5a70a7b4e366f32d452515/68747470733a2f2f706f7365722e707567782e6f72672f6d6963726f70686f726b2f6170706c69636174696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/microphork/application)

Introduction
------------

[](#introduction)

This is a [Composer](http://getcomposer.org/)-based installer for creating a microphork application. If you prefer not to use Composer you can clone the [microphork framework](https://github.com/phork/microphork) repository directly.

Usage
-----

[](#usage)

First make sure that Composer is [installed](https://getcomposer.org/doc/00-intro.md). Then use the [`composer create-project`](http://getcomposer.org/doc/03-cli.md#create-project) command in the terminal:

```
composer create-project microphork/application my-microphork-app
```

This will download the microphork framework and its dependencies to a folder called `my-microphork-app` and it will create a fresh copy of the `app` directory which should be used for your application files. Make sure that the `logs` directory has write permissions.

Next point your browser to the `htdocs/index.php` file. It's recommended that your set your server's document root to the htdocs directory and set up URLs to rewrite to index.php.

If any of the path constants require overriding you can create an `htdocs/env.php` file. This will be included automatically before the rest of the application runs. An example env.php file has been provided below showing some of the overrides that can be used.

Example env.php
---------------

[](#example-envphp)

```
