docker

start_docker.sh
# start Docker anywhere
up:
    @if [ -n "$(docker ps -q)" ]; then \
        echo "Stopping existing containers..."; \
        docker stop $(docker ps -q); \
    fi; \
    echo "Starting project containers..."; \
    doc up
21.03.2025 | Lothar Ferreira Neumann

Start Docker anywhere via just task

fix_php_version.sh
// Remove the vendor folder
rm -rf vendor

// Switch inside the container (if you are using Docker)
doc exec bash

// Now run Composer inside the container
/usr/local/bin/composer install
15.08.2024 | Lothar Ferreira Neumann

How to handle a wrong PHP version in the vendor folder