mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-22 08:34:15 +01:00
57 lines
2.4 KiB
Markdown
57 lines
2.4 KiB
Markdown
# <img src="admin/assets/images/icon.svg" height="28"> Formwork
|
|
|
|
[](https://discord.gg/5Q3BmNY)
|
|
[](https://github.com/getformwork/formwork/releases/latest)
|
|
[](https://github.com/getformwork/formwork/releases)
|
|
[](https://packagist.org/packages/getformwork/formwork)
|
|
[]()
|
|
[](#requirements)
|
|
|
|
🏗 Formwork is a flat file-based Content Management System (CMS) to build and manage simple sites.
|
|
|
|
⚠️ **This is the `README` file for the [`2.x`](https://github.com/getformwork/formwork/tree/2.x) branch, currently in development and NOT STABLE.**
|
|
|
|
👉 **See the [`1.x`](https://github.com/getformwork/formwork/tree/1.x) branch for the latest stable version.**
|
|
|
|
## Features
|
|
- ⚡️ Lightweight
|
|
- 🗄 No database required!
|
|
- 📦 Easy to [install](#installing)
|
|
- ✨ Out-of-the-box Administration Panel
|
|
|
|

|
|
|
|
## Requirements
|
|
- PHP **7.4.0** or higher
|
|
- PHP extensions `dom`, `fileinfo`, `gd`, `mbstring`, `openssl` and `zip`
|
|
|
|
## Installing
|
|
|
|
### From GitHub releases
|
|
You can download a ready-to-use `.zip` archive from [GitHub releases page](https://github.com/getformwork/formwork/releases) and just extract it in the webroot of your server.
|
|
|
|
### With Composer
|
|
If you prefer to install the latest stable release of Formwork with [Composer](https://getcomposer.org/) you can use this command:
|
|
|
|
```
|
|
$ composer create-project getformwork/formwork
|
|
```
|
|
|
|
Composer will create a `formwork` folder with a fresh ready-to-use Formwork installation.
|
|
|
|
### Cloning from GitHub
|
|
If you want to get the currently worked master version, you can clone the GitHub repository and then install the dependencies with Composer.
|
|
|
|
1. Clone the repository in your webroot:
|
|
|
|
```
|
|
$ git clone https://github.com/getformwork/formwork.git
|
|
```
|
|
|
|
2. Navigate to `formwork` folder and install the dependencies:
|
|
|
|
```
|
|
$ cd formwork
|
|
$ composer install
|
|
```
|