|
| 1 | +import Layout from "@/components/Layout"; |
| 2 | +import Button from "@/components/Common/button"; |
| 3 | +import Section from "@/components/Common/section"; |
| 4 | +import Alert from "@/components/Common/alert"; |
| 5 | +import ThemePlatformIcon from "@/components/Common/themeIcons" |
| 6 | +import Tabs from "@/components/Common/tab"; |
| 7 | +import Step from "@/components/Common/step"; |
| 8 | +import Card from "@/components/Common/card"; |
| 9 | +import Important from "@/components/Common/important"; |
| 10 | +import Highlight from "@/components/Common/highlight"; |
| 11 | +import Link from "next/link"; |
| 12 | +import PlatformIcon from "@/components/Common/icons"; |
| 13 | +import HighlightTabs from "@/components/Common/HighlightTabs"; |
| 14 | +import IconContainer from "@/components/Common/IconContainer"; |
| 15 | +import { |
| 16 | + GoContainer, |
| 17 | + GoDatabase, |
| 18 | + GoRocket, |
| 19 | + GoServer, |
| 20 | + GoMail, |
| 21 | + GoGlobe, |
| 22 | + GoArrowLeft, |
| 23 | + GoTelescope, |
| 24 | +} from "react-icons/go"; |
| 25 | + |
| 26 | +import Head from "next/head"; |
| 27 | + |
| 28 | +<Layout> |
| 29 | +<Head> |
| 30 | +<title>مستندات نحوه تنظیم میرورهای composer - لیارا</title> |
| 31 | +<meta property="og:title" content="مستندات خدمات رایانش ابری لیارا" /> |
| 32 | +<meta property="og:description" content="مستندات مربوط به تنظیم میرور کامپوزر لیارا" /> |
| 33 | +</Head> |
| 34 | + |
| 35 | + |
| 36 | +# تنظیم میرورهای کامپوزر |
| 37 | +<hr className="mb-2" /> |
| 38 | + |
| 39 | +لیارا میرور composer را در آدرس زیر، ارائه میدهد: |
| 40 | + |
| 41 | +<div className="h-2" /> |
| 42 | +<div dir='ltr'> |
| 43 | + <Highlight className="bash"> |
| 44 | + {`https://package-mirror.liara.ir/repository/composer/`} |
| 45 | + </Highlight> |
| 46 | +</div> |
| 47 | +<div className="h-2" /> |
| 48 | + |
| 49 | +برای تنظیم میرور فوق کافیست تا دستور زیر را اجرا کنید: |
| 50 | + |
| 51 | +<div className="h-2" /> |
| 52 | +<div dir='ltr'> |
| 53 | + <Highlight className="bash"> |
| 54 | + {`composer config -g repos.packagist composer https://package-mirror.liara.ir/repository/composer/`} |
| 55 | + </Highlight> |
| 56 | +</div> |
| 57 | +<div className="h-2" /> |
| 58 | + |
| 59 | +برای بررسی میرورها، میتوانید از دستور زیر استفاده کنید: |
| 60 | + |
| 61 | +<div className="h-2" /> |
| 62 | +<div dir='ltr'> |
| 63 | + <Highlight className="bash"> |
| 64 | + {`composer config --list --global`} |
| 65 | + </Highlight> |
| 66 | +</div> |
| 67 | +<div className="h-2" /> |
| 68 | + |
| 69 | +</Layout> |
0 commit comments