dependabot[bot] 8d175b632d Bump the development-dependencies group with 3 updates
Bumps the development-dependencies group with 3 updates: [laravel/sail](https://github.com/laravel/sail), [nunomaduro/collision](https://github.com/nunomaduro/collision) and [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit).


Updates `laravel/sail` from 1.40.0 to 1.41.0
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.40.0...v1.41.0)

Updates `nunomaduro/collision` from 8.5.0 to 8.6.1
- [Commits](https://github.com/nunomaduro/collision/compare/v8.5.0...v8.6.1)

Updates `phpunit/phpunit` from 11.5.3 to 11.5.6
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/11.5.6/ChangeLog-11.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/11.5.3...11.5.6)

---
updated-dependencies:
- dependency-name: laravel/sail
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: nunomaduro/collision
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 12:04:49 +00:00
2025-01-07 00:01:35 +09:00
2025-01-21 20:45:54 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2024-03-22 22:55:38 +09:00
2023-04-18 21:50:45 +09:00
2024-03-22 22:55:38 +09:00
2023-04-18 21:50:45 +09:00
2024-03-22 23:55:47 +09:00
2023-04-18 21:50:45 +09:00
2023-04-18 21:50:45 +09:00
2024-03-02 06:11:17 +09:00
2024-03-22 22:55:38 +09:00
2024-04-14 21:33:44 +09:00
2024-03-22 22:55:38 +09:00
2025-01-06 22:26:01 +09:00
2024-03-22 23:12:50 +09:00
2023-04-18 21:50:45 +09:00

Laravel Logo

Laravel Docker Starter Kit

  • Laravel v11.x
  • PHP v8.3.x
  • MySQL v8.1.x (default)
  • MariaDB v10.11.x
  • PostgreSQL v16.x
  • pgAdmin v4.x
  • phpMyAdmin v5.x
  • Mailpit v1.x
  • Node.js v18.x
  • NPM v10.x
  • Yarn v1.x
  • Vite v5.x
  • Rector v1.x
  • Redis v7.2.x

Requirements

How To Deploy

For first time only !

  • git clone https://github.com/refactorian/laravel-docker.git
  • cd laravel-docker
  • docker compose up -d --build
  • docker compose exec php bash
  • composer setup

From the second time onwards

  • docker compose up -d

Notes

Laravel Versions

Laravel App

Mailpit

phpMyAdmin

  • URL: http://localhost:8080
  • Server: db
  • Username: refactorian
  • Password: refactorian
  • Database: refactorian

Adminer

  • URL: http://localhost:9090
  • Server: db
  • Username: refactorian
  • Password: refactorian
  • Database: refactorian

Basic docker compose commands

  • Build or rebuild services
    • docker compose build
  • Create and start containers
    • docker compose up -d
  • Stop and remove containers, networks
    • docker compose down
  • Stop all services
    • docker compose stop
  • Restart service containers
    • docker compose restart
  • Run a command inside a container
    • docker compose exec [container] [command]

Useful Laravel Commands

  • Display basic information about your application
    • php artisan about
  • Remove the configuration cache file
    • php artisan config:clear
  • Flush the application cache
    • php artisan cache:clear
  • Clear all cached events and listeners
    • php artisan event:clear
  • Delete all of the jobs from the specified queue
    • php artisan queue:clear
  • Remove the route cache file
    • php artisan route:clear
  • Clear all compiled view files
    • php artisan view:clear
  • Remove the compiled class file
    • php artisan clear-compiled
  • Remove the cached bootstrap files
    • php artisan optimize:clear
  • Delete the cached mutex files created by scheduler
    • php artisan schedule:clear-cache
  • Flush expired password reset tokens
    • php artisan auth:clear-resets

Laravel Pint (Code Style Fixer | PHP-CS-Fixer)

  • Format all files
    • vendor/bin/pint
  • Format specific files or directories
    • vendor/bin/pint app/Models
    • vendor/bin/pint app/Models/User.php
  • Format all files with preview
    • vendor/bin/pint -v
  • Format uncommitted changes according to Git
    • vendor/bin/pint --dirty
  • Inspect all files
    • vendor/bin/pint --test

Rector

  • Dry Run
    • vendor/bin/rector process --dry-run
  • Process
    • vendor/bin/rector process

Alternatives

Description
No description provided
Readme 846 KiB
Languages
Blade 56.6%
PHP 41.5%
Dockerfile 1.2%
CSS 0.3%
JavaScript 0.2%
Other 0.2%