This Codespace has everything you need to start exploring the Laravel Framework.
| Github Codespace Specs | ||
|---|---|---|
| Container Definition | PHP & MariaDB (MySQL compatible) | php 8.2-bullseye |
| Extensions | ||
| SQLTools Database management for VS Code | mtxr.sqltools | |
| SQLTools MySQL Driver | mtxr.sqltools-driver-mysql |
Optionally customize the database environment variables in docker-compose.yml. All values are set to mariadb by default:
db: # ... environment: MYSQL_ROOT_PASSWORD: MYSQL_DATABASE: MYSQL_USER: MYSQL_PASSWORD:Then apply those values in your .env file:
DB_DATABASE= DB_USERNAME= DB_PASSWORD=Finally, migrate and seed your database:
php artisan migrate php artisan db:seedTo bundle your assets
npm run devTo bundle your assets for production
npm run buildTo serve your project
php artisan serveGithub Codespaces will automatically forward ports so you can view the running project on your local machine.