PHPackages                             stateless/cms - 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. [Admin Panels](/categories/admin)
4. /
5. stateless/cms

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

stateless/cms
=============

Stateless Content Management System

1.4.2(7y ago)01851MITPHPPHP ^7.0

Since Nov 5Pushed 7y agoCompare

[ Source](https://github.com/StatelessSoftware/StatelessCMS)[ Packagist](https://packagist.org/packages/stateless/cms)[ RSS](/packages/stateless-cms/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)DependenciesVersions (19)Used By (0)

StatelessCMS
============

[](#statelesscms)

Object-oriented PHP building-blocks for websites and webapps.

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

[](#introduction)

StatelessCMS is a headless PHP framework designed for creating database-driven PHP applications, "headless" meaning there is no existing front-end. StatelessCMS isn't an app or a CMS itself - it just gives you the building blocks to create one yourself.

Installation
------------

[](#installation)

### Minimum Requirements

[](#minimum-requirements)

Get a server running PHP 7.0 and a SQL database. *Note that apache is recommended, as Request::getHeaders() and Request::getToken() rely on apache\_get\_headers() as of v0.0.3*

### Composer Install

[](#composer-install)

The easiest way to install StatelessCMS is to install with Composer:

```
composer require stateless/cms

```

### Web Download

[](#web-download)

Download the latest release from .

### Development

[](#development)

If you would like the live development branch instead, download or clone from github.

Setting up your first project
-----------------------------

[](#setting-up-your-first-project)

Although you are free to use any directory structure you choose, the common basic structure for StatelessCMS is as follows. Don't worry too much about the specifics - we'll create each part step by step.

```
|- app
    |- Controller
    |- Form
    |- FormInput
    |- Layout
    |- Menu
    |- Model
    |- View
    |- app.php
    |- functions.php
|- conf
    |- app.conf.php
|- public
    |- css
    |- js
    |- .htaccess
    |- index.php
|- vendor
    |- stateless

```

If you didn't already, install StatelessCMS to vendor/stateless (follow installation instructions above)

Getting started
---------------

[](#getting-started)

Open public/index.php. Insert the following code:

```
