PHPackages                             devyzi/framework - 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. devyzi/framework

ActiveLibrary[Framework](/categories/framework)

devyzi/framework
================

Devyzi Framework.

v0.0.4(9y ago)0261MITPHPPHP &gt;=5.5.9

Since Jun 30Pushed 9y ago2 watchersCompare

[ Source](https://github.com/devyzi/framework)[ Packagist](https://packagist.org/packages/devyzi/framework)[ Docs](http://framework.devyzi.com)[ RSS](/packages/devyzi-framework/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (1)

[![Code Climate](https://camo.githubusercontent.com/72c3ed06e0647f9499082f4c83ba7d033f1cefa7ba5eeef50e1fbbbec101bb3e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f646576797a692f6672616d65776f726b2f6261646765732f6770612e737667)](https://codeclimate.com/github/devyzi/framework)

Devyzi-Framework
================

[](#devyzi-framework)

Framework PHP sem fins lucrativos.

Instalação
----------

[](#instalação)

Para utilizar o Devyzi Framework execute o seguinte comando no composer:

```
composer create-project devyzi/devyzi nome-do-projeto

```

altere o 'pasta-do-projeto' para o nome do seu novo projeto.

Caso você ainda não tenha o composer instalado [clique aqui](https://getcomposer.org/doc/00-intro.md) e aprenda a instala-lo.

Routes
------

[](#routes)

Para criar rotas, vá até o arquivo localizado em 'App/Routes' e faça sua rota no seguinte formato:

```
$routes['nome-da-rota'] = array('route'=>'/rota','controller'=>"SeuArquivoController",'action'=>'SuaFunção');

```

Controllers
-----------

[](#controllers)

Para criar um controller, você deve extende-lo de Action, segue o exemplo:

```
