PHPackages                             luismoralesp/primal - 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. [API Development](/categories/api)
4. /
5. luismoralesp/primal

ActiveLibrary[API Development](/categories/api)

luismoralesp/primal
===================

Primal it's a PHP framework for Restful service.

1.0.5(8y ago)127[1 issues](https://github.com/luismoralesp/primal/issues)PHPPHP ^5.3.3 || ^7.0

Since Mar 29Pushed 8y ago2 watchersCompare

[ Source](https://github.com/luismoralesp/primal)[ Packagist](https://packagist.org/packages/luismoralesp/primal)[ RSS](/packages/luismoralesp-primal/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)DependenciesVersions (7)Used By (0)

primal-php
==========

[](#primal-php)

Primal it's a PHP framework for Restful service.

**Install**

Install using composer

> composer.json

```
{
  "require": {
    "luismoralesp/primal": "1.0.5"
  }
}

```

**Get Started**

The first stpep for use Primal is star a new proyect, we will use the bellow command:

```
$ php /vendor/luismoralesp/primal/install.php
$ php manage.php startapp myapp

```

Then we will have a new folder structure:

- myapp
    - models
    - views
        - Myapp.php
- index.php

`myapp` folder is our proyect folder inside it we will found the `models` folder where we will put our models class files and `views` folder where we will put our view class files, by default a file class was createt with our project the name but with first word uppercase this important for this framework.

Inside the file we will found the bellow code:

```
