8000 GitHub - Shimizu1111/php-training: Laravelで作成したブログサイト
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shimizu1111/php-training

Repository files navigation

環境構築

  • Macの場合
brew install php@バージョン
brew install composer
cd php_training/
composer install
cp .env.example .env
mysql -uroot
mysql> CREATE DATABASE php_training;
php artisan migrate
php artisan db:seed --class=CharacterMasterSeeder
php artisan serve

ユーザーの作成方法

php artisan tinker

>>> $user = new User();
>>> $user->name = "username";
>>> $user->email = "mail@example.com";
>>> $user->password = Hash::make('password');
>>> $user->save();

About

Laravelで作成したブログサイト

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0