PHPackages                             midgard/midgardmvc-project-template - 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. midgard/midgardmvc-project-template

ActiveLibrary[Framework](/categories/framework)

midgard/midgardmvc-project-template
===================================

12.12.1(13y ago)327Puppet

Since Dec 11Pushed 13y ago1 watchersCompare

[ Source](https://github.com/midgardproject/midgardmvc-project-template)[ Packagist](https://packagist.org/packages/midgard/midgardmvc-project-template)[ RSS](/packages/midgard-midgardmvc-project-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

midgardmvc-project-template
===========================

[](#midgardmvc-project-template)

This is a project template for creating new websites or applications powered by the [Midgard MVC](http://midgard-project.org/midgardmvc/) framework for PHP.

Creating new Midgard MVC projects
---------------------------------

[](#creating-new-midgard-mvc-projects)

This project template is designed to be used together with the [Composer](http://getcomposer.org/) PHP dependency management tool. You can create new Midgard MVC projects on your current machine with:

```
$ composer create-project midgard/midgardmvc-project-template myproject

```

This will download the Midgard MVC project template and set it up together with the dependencies. This new project will be set up in the `myproject` directory.

Where is everything?
--------------------

[](#where-is-everything)

The Midgard MVC project template follows a file structure typical for Composer-installed Midgard MVC applications:

- `application.yml` contains the application configuration, including site's node hierarchy and list of enabled components
- `composer.json` lists the dependencies for your application
- `manifest.yml` contains routes for the site's main component (in this case `midgardmvc_project_template`)
- `controllers` contains controllers of the main component
- `templates` contains templates of the main component
- `vendor` contains all Composer-installed dependencies, including Midgard MVC in `vendor/midgard/midgardmvc-core`
- `var` contains logs and caches used by the Vagrant setup

Creating development VMs with Vagrant
-------------------------------------

[](#creating-development-vms-with-vagrant)

[Vagrant](http://vagrantup.com) gives an easy way to manage development virtual machines using Midgard MVC.

### Dependencies

[](#dependencies)

- [Vagrant](http://vagrantup.com)
- NFS (out-of-the-box in OS X, on Debian-based Linux systems install `nfs-kernel-server`)

### Installation

[](#installation)

To set up a Vagrant project, download this project template, and then:

```
$ cd setup/vagrant
$ vagrant up

```

The `up` command will download a Ubuntu 12.10 base image, start it in [VirtualBox](https://www.virtualbox.org/) and then use the [Puppet](http://puppetlabs.com/) configuration management system to set up Midgard2, PHP, AppServer-in-PHP, and your Midgard MVC project.

This setup can take a long time depending on your internet connection. Once it is done, there should be a Midgard MVC instance running based on your project setup. You can access it at .

### Usage

[](#usage)

The Vagrant VM will mount your project directory over NFS, and so all of your file changes will apply to the virtual machine instantly. If you need to tweak something on the VM, you can get an SSH connection to it with:

```
$ vagrant ssh

```

Your mounted project directory will be available in `/opt/midgardmvc`.

#### Restarting AiP

[](#restarting-aip)

Since AiP is a persistent PHP process, you'll need to restart it when you make changes to your files. You can do that after `vagrant ssh` with:

```
$ sudo service midgardmvc stop
$ sudo service midgardmvc start

```

### Managing the virtual machine

[](#managing-the-virtual-machine)

You can use the `vagrant halt` command to stop your virtual machine, and `vagrant up` to restart it.

If you want to start from scratch, simply run `vagrant destroy`, and rebuild the VM image with another `vagrant up`.

If you want to distribute your VM image with your team, read the [Vagrant packaging documentation](http://vagrantup.com/v1/docs/getting-started/packaging.html).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4897d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bbc65cfe3d54da56b43f1923784996c052d5cc2f39b0dbe19b0cefb487ef5e5?d=identicon)[bergie](/maintainers/bergie)

---

Top Contributors

[![bergie](https://avatars.githubusercontent.com/u/3346?v=4)](https://github.com/bergie "bergie (5 commits)")

### Embed Badge

![Health badge](/badges/midgard-midgardmvc-project-template/health.svg)

```
[![Health](https://phpackages.com/badges/midgard-midgardmvc-project-template/health.svg)](https://phpackages.com/packages/midgard-midgardmvc-project-template)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)

PHPackages © 2026

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