basic-app/basic-app

This package is auto-updated.

Last update: 2024-04-22 21:14:16 UTC


README

Basic App is a free, open-source, self-hosted CMS platform based on the CodeIgniter 4 PHP Framework.

Basic App is designed to provide a quick start for sites made on CodeIgniter 4 and to take over the implementation of the basic functions of a modern web application.

Overview

  • CRUD
  • Themes
  • Internationalization
  • Backend area (auth, main menu, options menu, tables, forms)

Modules

  • Site (pages, blocks, menus)
  • Blog (demo module)

Themes

Client-side libraries

Installation

Step 1

Create a new application using Composer:

composer create-project --stability=dev --keep-vcs --prefer-dist basic-app/basic-app demoapp

The command installs the application in a directory named demoapp. You can choose a different directory name if you want.

Step 2

Configure application settings (base url, timezone, database) in the /.env file.

Step 3

Execute commands via shell:

php spark migrate -all
php spark ba:update
php spark ba:seed
php spark publish

Step 4

Run local development server

php spark serve

Or set document root to /public directory.

Backend

Access backend by opening http://localhost:8080/admin in a browser.

login: admin
password: admin

Change Admin Password

  1. Execute command:
php spark hash-admin-password YOUR_PASSWORD
  1. Store result hash string to .evn file in admin.passwordHash section

Server Requirements

  • Database (MySQL or MariaDB)
  • Composer
  • Webserver (Apache or Nginx)

PHP version 7.2 or higher is required, with the following extensions installed:

  • intl
  • libcurl if you plan to use the HTTP\CURLRequest library

Additionally, make sure that the following extensions are enabled in your PHP:

  • json (enabled by default - don't turn it off)
  • mbstring
  • mysqlnd
  • xml (enabled by default - don't turn it off)