Browse Source

gitignore e env example

Gustavo Zanatta 1 month ago
parent
commit
fb75373a59
2 changed files with 99 additions and 0 deletions
  1. 41 0
      .env.example
  2. 58 0
      .gitignore

+ 41 - 0
.env.example

@@ -0,0 +1,41 @@
+APP_NAME=Laravel
+APP_ENV=local
+APP_KEY=
+APP_DEBUG=true
+APP_URL=http://localhost
+
+LOG_CHANNEL=stack
+LOG_LEVEL=debug
+
+DB_CONNECTION=pgsql
+DB_HOST=127.0.0.1
+DB_PORT=5432
+DB_DATABASE=database
+DB_USERNAME=postgres
+DB_PASSWORD=postgres
+
+CACHE_DRIVER=file
+SESSION_DRIVER=file
+QUEUE_CONNECTION=sync
+
+REDIS_HOST=127.0.0.1
+REDIS_PASSWORD=null
+REDIS_PORT=6379
+
+MAIL_MAILER=log
+MAIL_HOST=mailpit
+MAIL_PORT=1025
+MAIL_USERNAME=null
+MAIL_PASSWORD=null
+MAIL_ENCRYPTION=null
+MAIL_FROM_ADDRESS="hello@example.com"
+MAIL_FROM_NAME="${APP_NAME}"
+
+VITE_APP_NAME="${APP_NAME}"
+
+FILESYSTEM_DISK=local
+
+BROADCAST_DRIVER=log
+
+SANCTUM_STATEFUL_DOMAINS=localhost
+

+ 58 - 0
.gitignore

@@ -0,0 +1,58 @@
+# Dependencies
+/vendor
+/node_modules
+
+# Environment
+.env
+.env.*
+!.env.example
+
+# Logs
+/storage/logs
+*.log
+
+# Cache & compiled files
+/bootstrap/cache
+/storage/framework/cache
+/storage/framework/sessions
+/storage/framework/views
+/storage/framework/testing
+
+# PHPUnit
+.phpunit.result.cache
+/.phpunit.cache
+
+# IDEs / Editors
+.idea
+.vscode
+*.swp
+*.swo
+
+# OS files
+.DS_Store
+Thumbs.db
+
+# Composer
+/composer.phar
+
+# Frontend build (Vite)
+/public/build
+/public/hot
+
+# Laravel Sail / Docker
+/.sail
+
+# Debug / temp files
+*.tmp
+*.temp
+
+# Coverage
+/coverage
+.clover
+
+# PHP CS Fixer
+.php-cs-fixer.cache
+.php-cs-fixer.php
+
+# Meta
+.phpstorm.meta.php