https://github.com/matrizlab/laravel8-example
https://github.com/matrizlab/laravel8-example
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/matrizlab/laravel8-example
- Owner: matrizlab
- Created: 2022-05-04T05:36:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-22T06:53:11.000Z (about 4 years ago)
- Last Synced: 2025-06-02T20:13:30.409Z (about 1 year ago)
- Language: PHP
- Size: 220 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Laravel 8 Example
### existing project
```
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php80-composer:latest \
composer install --ignore-platform-reqs
```
### new laravel 8 project
```
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php80-composer:latest \
composer create-project laravel/laravel:^8.0 laravel8-example && cd laravel8-example && php ./artisan sail:install --with=mysql,mailhog
```
### github
```
git init
git add -A
git commit -m "start laravel 8"
git branch -M main
git remote add origin git@github.com:matrizlab/laravel8-example.git
git push -u origin main
```