PHP code example of supdger / sand-core
1. Go to this page and download the library: Download supdger/sand-core library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
supdger / sand-core example snippets
bash
export SAND_DB_PASSWORD='数据库密码'
export SAND_ADMIN_PASSWORD='至少 12 位的管理员密码' # 省略则生成强密码,只在当前终端打印一次
php bin/sand install \
--confirm=INSTALL \
--host=127.0.0.1 \
--port=5432 \
--database=库名 \
--user=数据库用户 \
--data=pure \
--admin-user=admin
bash
php bin/sand migrate