Installation


Server Requirements

The Shadow framework has a few system requirements.You will need to make sure your server meets the following requirements:

  • PHP >= 7.2.0
  • BCMath PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Installing Shadow

Via Composer Create-Project

You may install Shadow by issuing the Composer create-project command in your terminal:

composer create-project --prefer-dist codexen/shadow blog

Via Git

Also you may install Shadow by issuing the Git clone command in your terminal:

git clone https://github.com/codexen/shadow.git blog

composer install

Local Development Server

If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the server Kapitan command. This command will start a development server at http://localhost:8000

To start the server in default port 8000
php kapitan server
To start the server in port 9000
php kapitan server 9000

Generate application key

php kapitan generate:key

Backup database

php kapitan database:backup filename