Skip to content
wi-fiネットワークの情報を受け取って現在の滞在者がわかるアプリケーション
PHP HTML Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests Clean: プロパティ・メソッド名の命名規則修正、インデント修正 Aug 25, 2019
.editorconfig
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
package.json
phpunit.dusk.xml
phpunit.xml
readme.md
server.php
webpack.mix.js

readme.md

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

追加インストール

doctrine/dbalパッケージの導入

composer require doctrine/dbal

開発環境 ブラウザテスト用 dusk

composer require --dev laravel/dusk
# 本番環境で以下のコマンドを入力してはいけない!
php artisan dusk:install

クロームをインストール

sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable

設定ファイルの編集

.env ファイルの設定を確認 .app .dev などは使わない方が良い

APP_URL=http://whois.geek

ブラウザテストに備えた設定

ブラウザテスト失敗の際に消失の恐れのある .envファイルをコピーしてバックアップする
参考サイトLaravel5.7: ブラウザテストを記述する

cp .env .env.bk_copy

コピーされた.evv.bk_copy.gitignoreファイルでリポジトリにアップしない様にすること

次に、ブラウザテスト用の .envファイルをコピーする

cp .env .env.dusk.local

同様にコピーされた.env.dusk.local.gitignoreファイルでリポジトリにアップしない様にする

.env.dusk.localのファイル内の以下の部分をtest用DBに変更する

DB_DATABASE=myapp_test
You can’t perform that action at this time.