Skip to content

rendoh/scratch-php-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch PHP Framework

パーフェクトPHP のフレームワークをベースにPHPで色々試す

  • Composer
  • Dotenv
  • Phpmig

Setup

$ docker-compose up -d --build
  • PHP 7.0
  • Composer
  • MySQL 5.7
$ docker exec -it PHP_CONTAINER_NAME /bin/bash
% cd /var/www
% composer install

Database migration

Setup

$ docker exec -it MYSQL_CONTAINER_NAME bash
% mysql -u root -p
mysql> CREATE DATABASE online_bbs
$ vendor/bin/phpmig migrate

Create Migration File

$ vendor/bin/phpmig generate MIGRATION_NAME

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published