horros/agavi2

Agavi2 is the resurrection of Agavi, a full-featured MVC-style framework for PHP 7 with a strong focus on structure, code reusability and flexibility.


Keywords
framework, mvc
License
LGPL-2.1+

Documentation

Agavi2

  • License: License
  • Latest Version: Latest Stable Version
  • Build: Build Status
  • Code coverage: Coverage Status
  • Homepage: http://www.agavi.org/
  • Releases: see [downloads page] or [github releases]

Purpose

Agavi is a powerful, scalable PHP5 application framework that follows the MVC paradigm. It enables developers to write clean, maintainable and extensible code. Agavi puts choice and freedom over limiting conventions, and focuses on sustained quality rather than short-sighted decisions.

Agavi is designed for serious development. It is not a complete website construction kit but rather a skeleton over which you build your application. The architecture of Agavi allows developers to retain very fine control over their code.

Agavi strives to leave most implementational choices to the developers. Agavi's components are inherently extensible, and the framework itself is designed around a XML-based configuration system that provides a very flexible environment.

The framework works for almost all kinds of applications but excels most in large codebases, long-term projects, extreme cases of integration and other special situations. Creating an application that is accessible not only as a standard web application but also via a commandline interface or standards like HTTP, SOAP or even XML-RPC is a perfectly valid use case.

Requirements and installation

  • PHP v5.5.0+
  • required: libxml, dom, SPL, Reflection and PCRE
  • optional: xsl, tokenizer, session, xmlrpc, soap, PDO, iconv, gettext, phing

Installation via Composer/Packagist available by typing composer require horros/agavi2 [optional version].

Adding Agavi manually as a vendor library requirement to the composer.json file of your project works as well:

{
    "require": {
        "horros/agavi2": "dev-master"
    }
}

Alternatively, you can download a release archive from the [github releases] page and extract it or see the [downloads page] on the homepage.

Documentation

An introduction into Agavi can be found in form of a tutorial for a blog application. There are API docs and an official FAQ as well as slightly outdated WTF and blog. A useful FAQ for developers may help with common questions while browsing the source files with their docs is always an option.

Support

To get support have a look at the support page on the homepage. There are mailing lists to join and a helpful freenode IRC channel named #agavi to get you up to speed (irc://irc.freenode.org/agavi). The IRC channel logs are available for the curious that are interested in past conversations.

Contribution

Discussing issues on the mailing lists or in github issues as well as talking about problems and features in the IRC channel is always of good help to everyone. If you want to do more please contribute by forking and sending a pull request. More information can be found in the CONTRIBUTING.md file.

Changelog

See the latest changes in the repository CHANGELOG.md. The 1.0 release notes or upcoming release notes may be helpful as well.

License

Agavi is licensed under the LGPL 2.1. See the Open Source Initiative and this FAQ entry for details. All relevant licenses and details can be found in the LICENSE file.