Skip to content

Repository files navigation

README

This project includes some shell-scripts for Full-Stack developers building web applications with the Symfony Framework

Environment

  • Dev

    • App : PHP - Symfony Framework
    • Cache : Redis
    • Database : PostgreSQL
    • Message : RabbitMQ, Redis
    • Server : Nginx
    • Utility : Git, Docker
    • Tools : PhpStorm, VSCode
  • Prod

    • AWS (Amazon Web Services)
    • GCP (Google Cloud Platform)
    • NCloud (Naver Cloud Platform)

Platform

  • Linux - Ubuntu

  • Mac - MacOS

  • Windows - WSL2 (Ubuntu)

    # WSL2
    # Windows Explorer:
    \\wsl.localhost\Ubuntu\home\[username]\
    # (legacy form, still valid)
    \\wsl$\Ubuntu\home\[username]\
    
    # VSCode
    Ctrl + Shift + P
    → Select "Terminal: Select Default Profile"
    → Select "Ubuntu (WSL)" or "WSL"
    

Project

  • Directory Structure
./                                    ← Repository root
├── app/                              ← Symfony Framework
├── diagram/                          ← draw.io diagrams
│   ├── base/
│   ├── containers/
│   └── deploy/
├── scripts/                          ← Shell scripts
│   ├── base/
│   ├── containers/
│   └── deploy/
├── tools/                            ← Tooling docs (AI assistants, IDEs)
│   ├── ai/                           ← anthropic / google / microsoft
│   └── ide/                          ← phpstorm / vscode
├── .claude/                          ← Claude Code config
├── .github/                          ← GitHub config (PR template, Actions)
├── .idea/                            ← JetBrains IDE workspace config
├── .vscode/                          ← VSCode workspace config
├── .env.app
├── .env.dev
├── .env.prod
├── .gitattributes
├── .gitignore
├── .mcp.json
├── CLAUDE.md
├── GEMINI.md
├── LICENSE
├── README.md
├── REVIEW.md
└── TODO.md

Dev Environment

Requirement

  • Update your name and email for Git

    git config --global user.name "{Your Name}"
    git config --global user.email "{Your Email}"
    git config --global init.defaultBranch main
    git config --global credential.helper store
    
    git config --global --list

Work Directory

  • Create a folder (example)

    mkdir -p ~/Repositories
    mkdir -p ~/Repositories/GitHub
    
    cd ~/Repositories/GitHub
  • Download this project

    git clone https://github.com/xsuntel/symfony-scripts.git
    cd symfony-scripts && find ./scripts/ -type f -name "*.sh" -exec chmod 775 {} \;
  • Update default variables : TimeZone / Symfony Releases

    vi .env.app
    
    # >>>> Platform
    PLATFORM_TIMEZONE="{Your TimeZone}"
    
    # >>>> Project
    PROJECT_DOMAIN="{Your Web domain}"
    
    # >>>> PHP
    SYMFONY_VERSION="{Symfony Releases}"
    
  • Create a new webapp : Installing & Setting up the Symfony Framework

    ./tools/ide/tutorial.sh

Deployment

MCP Servers

  • GitHub - Settings / Developer settings / Personal access tokens / Tokens (classic) - repo (only)

    claude mcp add -s user --transport http github https://api.githubcopilot.com/mcp --header "Authorization: Bearer YOUR_GITHUB_PAT"
    vi ~/.claude.json
    {
      "mcpServers": {
        "github": {
          "type": "http",
          "url": "https://api.githubcopilot.com/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_GITHUB_PAT"
          }
        }
      }
    }

Prod Environment

Public Cloud

Tools

Reference

License

This is available under the MIT License.

About

Symfony Framework for IDE

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

Used by

Contributors

Languages