PHP code example of mateusotabe / brelue

1. Go to this page and download the library: Download mateusotabe/brelue library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mateusotabe / brelue example snippets

bash
# 1. Build e start dos containers
docker compose up -d --build

# 2. Arquivo de ambiente (se ainda não existir)
cp .env.example .env

# 3. Dependências PHP
docker compose exec php composer install

# 4. Dependências frontend
docker compose exec php pnpm install

# 5. Chave da aplicação e migrations
docker compose exec php php artisan key:generate
docker compose exec php php artisan migrate

# 6. Vite (hot reload)
docker compose exec php pnpm run dev