Compare commits
31 Commits
7.0.3
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0885989e4 | ||
|
|
00d8a84e16 | ||
|
|
fee18b42db | ||
|
|
11e3ffc1d2 | ||
|
|
cf4bcd6d9f | ||
|
|
df3d72b936 | ||
|
|
5d48b71858 | ||
|
|
75a4430457 | ||
|
|
705c0da87b | ||
|
|
6a9a83fb47 | ||
|
|
593338f8f8 | ||
|
|
f403e94463 | ||
|
|
ec467a6f33 | ||
|
|
4b7289618f | ||
|
|
b716689318 | ||
|
|
b99af56576 | ||
|
|
45219c7b39 | ||
|
|
98a6ced6b0 | ||
|
|
620dc8bc72 | ||
|
|
3ad0d09569 | ||
|
|
9fdd698e09 | ||
|
|
ea6254fc80 | ||
|
|
566be5ce9f | ||
|
|
959aab1bc7 | ||
|
|
3f0534e0e1 | ||
|
|
6d0ca768f9 | ||
|
|
1bf6169ffc | ||
|
|
6959b13189 | ||
|
|
2631fda37b | ||
|
|
3fcd32d767 | ||
|
|
b371252f27 |
223
.github/copilot-instructions.md
vendored
Normal file
223
.github/copilot-instructions.md
vendored
Normal file
@@ -0,0 +1,223 @@
|
||||
# Laragon - Windows Development Environment
|
||||
|
||||
Laragon is a portable, isolated Windows development environment for PHP, Node.js, and Python. This repository contains the distribution files and configuration templates for Laragon.
|
||||
|
||||
Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.
|
||||
|
||||
## Critical Limitations
|
||||
|
||||
**WINDOWS-ONLY ENVIRONMENT**: Laragon is exclusively a Windows GUI application. The main executable (laragon.exe) is a Windows PE32+ binary that cannot run on Linux or macOS. Development and testing of the actual Laragon environment requires Windows.
|
||||
|
||||
**NO BUILD PROCESS**: This repository contains pre-built binaries and configuration files. There is no source code compilation, build system, or CI/CD pipeline.
|
||||
|
||||
**NO AUTOMATED TESTS**: This is a packaged application distribution, not a development project with test suites.
|
||||
|
||||
## Working Effectively on Linux/macOS
|
||||
|
||||
While you cannot run Laragon itself, you can:
|
||||
|
||||
### Repository Structure Exploration
|
||||
- View and understand the file structure: `ls -la /path/to/laragon`
|
||||
- Examine configuration files: `find . -name "*.ini" -o -name "*.conf"`
|
||||
- Check included software versions: `grep -r "Version=" usr/laragon.ini`
|
||||
- List bundled tools: `ls -la bin/`
|
||||
|
||||
### Configuration Management
|
||||
- View main configuration: `cat usr/laragon.ini`
|
||||
- Check site templates: `cat usr/sites.conf`
|
||||
- Examine Procfile format: `cat usr/Procfile`
|
||||
- Review user customization: `cat usr/user.cmd`
|
||||
|
||||
### Documentation Tasks
|
||||
- Edit README.md and documentation files
|
||||
- Update configuration templates
|
||||
- Modify default project templates in www/
|
||||
- Update site configuration examples
|
||||
|
||||
## Laragon Architecture
|
||||
|
||||
### Core Components
|
||||
- **laragon.exe**: Main Windows GUI application (5.3MB PE32+ executable)
|
||||
- **bin/**: Bundled software packages
|
||||
- PHP (current versions with auto-update support)
|
||||
- MySQL (current versions with auto-update support)
|
||||
- Nginx (current versions)
|
||||
- Apache (configurable)
|
||||
- Composer (PHP dependency manager)
|
||||
- HeidiSQL (database management GUI)
|
||||
- Cmder (terminal emulator)
|
||||
- Notepad++ (text editor)
|
||||
- Sendmail (mail handling)
|
||||
|
||||
**Note**: This repository contains historical/example versions (PHP 5.4.9, MySQL 5.1.72, Nginx 1.14.0) but actual Laragon releases bundle current software versions with an integrated auto-update system for minor version updates.
|
||||
|
||||
### Configuration Files
|
||||
- **usr/laragon.ini**: Main configuration (service versions, preferences)
|
||||
- **usr/sites.conf**: Project template definitions
|
||||
- **usr/Procfile**: Custom service definitions
|
||||
- **usr/user.cmd**: User startup customizations
|
||||
- **etc/**: Service-specific configurations (Apache, Nginx, PHP)
|
||||
|
||||
### Directory Structure
|
||||
```
|
||||
laragon/
|
||||
├── laragon.exe # Main Windows GUI application
|
||||
├── bin/ # Bundled software (PHP, MySQL, Nginx, etc.)
|
||||
├── etc/ # Configuration files for services
|
||||
├── usr/ # User configurations and templates
|
||||
├── www/ # Default web root directory
|
||||
├── README.md # Project documentation
|
||||
├── CHANGELOG.md # Version history
|
||||
└── SECURITY.md # Security policy
|
||||
```
|
||||
|
||||
## Key Features
|
||||
- **Portable**: Entire environment can be moved between Windows machines
|
||||
- **Auto-configuration**: Services are automatically configured when started
|
||||
- **Auto-update system**: Integrated minor version updates for bundled software
|
||||
- **Current software versions**: Ships with up-to-date PHP, MySQL, Apache, and other tools
|
||||
- **Pretty URLs**: Uses `.test` domains instead of localhost
|
||||
- **Multi-version support**: Can switch between different PHP/MySQL versions
|
||||
- **Project templates**: Built-in templates for WordPress, Laravel, Symfony
|
||||
|
||||
## Common Tasks
|
||||
|
||||
### Examining Service Versions
|
||||
```bash
|
||||
# Check configured versions (note: repository contains historical versions)
|
||||
grep "Version=" usr/laragon.ini
|
||||
|
||||
# List available software in bin directory (historical snapshot)
|
||||
ls bin/
|
||||
```
|
||||
|
||||
**Important**: The versions shown in this repository (PHP 5.4.9, MySQL 5.1.72, etc.) are historical examples. Actual Laragon installations include current software versions with automatic update capabilities.
|
||||
|
||||
### Configuration File Management
|
||||
```bash
|
||||
# View main configuration
|
||||
cat usr/laragon.ini
|
||||
|
||||
# Check site template definitions
|
||||
cat usr/sites.conf
|
||||
|
||||
# Examine user customization file
|
||||
cat usr/user.cmd
|
||||
```
|
||||
|
||||
### Project Template Analysis
|
||||
```bash
|
||||
# Check available project types
|
||||
grep "^[A-Za-z]" usr/sites.conf | grep "="
|
||||
|
||||
# View default web page
|
||||
cat www/index.php
|
||||
```
|
||||
|
||||
### Structure Exploration
|
||||
```bash
|
||||
# Repository root contents
|
||||
ls -la
|
||||
|
||||
# Find all configuration files
|
||||
find . -name "*.ini" -o -name "*.conf" | head -10
|
||||
|
||||
# Check documentation files
|
||||
find . -name "*.md"
|
||||
```
|
||||
|
||||
## Validation on Windows
|
||||
|
||||
**Note**: These steps can only be performed on a Windows machine with Laragon installed:
|
||||
|
||||
### Basic Functionality Testing
|
||||
1. Start Laragon GUI application
|
||||
2. Verify all services start (Apache/Nginx, MySQL, PHP)
|
||||
3. Access http://localhost to see default page
|
||||
4. Create a test project using quick app creation
|
||||
5. Verify pretty URLs work (e.g., http://testapp.test)
|
||||
|
||||
### Configuration Validation
|
||||
1. Modify usr/laragon.ini settings
|
||||
2. Restart Laragon to apply changes
|
||||
3. Verify service versions match configuration
|
||||
4. Test custom Procfile entries
|
||||
5. Validate user.cmd customizations
|
||||
|
||||
## File Editing Guidelines
|
||||
|
||||
### Safe to Edit
|
||||
- **Documentation**: README.md, CHANGELOG.md, SECURITY.md
|
||||
- **Configuration templates**: usr/laragon.ini, usr/sites.conf
|
||||
- **Default web content**: www/index.php
|
||||
- **User scripts**: usr/user.cmd, usr/Procfile
|
||||
|
||||
### Do Not Modify
|
||||
- **Binary files**: laragon.exe, all files in bin/
|
||||
- **Service configurations**: etc/ files (unless creating templates)
|
||||
- **Git ignored items**: See .gitignore for excluded files
|
||||
|
||||
## Development Workflow
|
||||
|
||||
### For Configuration Changes
|
||||
1. Edit configuration files using text editors
|
||||
2. Validate syntax if applicable (e.g., INI format for laragon.ini)
|
||||
3. Test changes on Windows Laragon installation
|
||||
4. Document changes in comments or README
|
||||
|
||||
### For Documentation Updates
|
||||
1. Edit Markdown files directly
|
||||
2. Ensure proper formatting and links
|
||||
3. Validate Markdown syntax
|
||||
4. No special testing required
|
||||
|
||||
## Repository Maintenance
|
||||
|
||||
### Adding New Project Templates
|
||||
1. Edit usr/sites.conf
|
||||
2. Follow existing format: `ProjectName=installation_command`
|
||||
3. Test template on Windows Laragon installation
|
||||
4. Document new template in README if needed
|
||||
|
||||
### Configuration Updates
|
||||
1. Modify relevant .ini or .conf files
|
||||
2. Ensure Windows compatibility
|
||||
3. Test with actual Laragon installation
|
||||
4. Update documentation if behavior changes
|
||||
|
||||
## Common File Locations
|
||||
|
||||
### Frequently Referenced Files
|
||||
```bash
|
||||
# Main configuration
|
||||
usr/laragon.ini
|
||||
|
||||
# Project templates
|
||||
usr/sites.conf
|
||||
|
||||
# Default web page
|
||||
www/index.php
|
||||
|
||||
# User customization
|
||||
usr/user.cmd
|
||||
|
||||
# Main documentation
|
||||
README.md
|
||||
```
|
||||
|
||||
### Configuration Paths
|
||||
```bash
|
||||
# Apache configuration
|
||||
etc/apache2/
|
||||
|
||||
# Nginx configuration
|
||||
etc/nginx/
|
||||
|
||||
# PHP configuration
|
||||
etc/php/
|
||||
|
||||
# SSL certificates
|
||||
etc/ssl/
|
||||
```
|
||||
|
||||
This repository serves as the distribution package for Laragon. All development and testing of the actual development environment functionality must be done on Windows machines with Laragon installed.
|
||||
1
CHANGELOG.md
Normal file
1
CHANGELOG.md
Normal file
@@ -0,0 +1 @@
|
||||
https://github.com/leokhoa/laragon/releases
|
||||
@@ -6,12 +6,14 @@ Laragon is a portable, isolated, fast & powerful universal development environme
|
||||
|
||||
Laragon is great for building and managing modern web applications. It is focused on performance - designed around stability, simplicity, flexibility and freedom.
|
||||
|
||||
Laragon is very lightweight and will stay as lean as possible. The core binary itself is less than 2MB and uses less than 4MB RAM when running.
|
||||
Laragon is very lightweight and will stay as lean as possible. The core binary itself is less than 6MB and uses around 4MB - 10MB RAM when running.
|
||||
|
||||
Laragon doesn't use Windows services. It has its own `service orchestration` which manages services asynchronously and non-blocking so you'll find things run fast & smoothly with Laragon.
|
||||
|
||||
Enjoy!
|
||||
|
||||
> Starting with Laragon 7.x, a license is required to use Laragon. For more details, visit <https://laragon.lemonsqueezy.com/>.
|
||||
|
||||
## Features
|
||||
|
||||
- **Pretty URLs**
|
||||
|
||||
13
SECURITY.md
13
SECURITY.md
@@ -2,13 +2,12 @@
|
||||
|
||||
## Supported Versions
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 7.x.x | :white_check_mark: |
|
||||
| < 6.x | :x: |
|
||||
| Version | Supported |Reason |
|
||||
| ------- | ------------------ | ---------- |
|
||||
| >=7.0 | :white_check_mark: | |
|
||||
| <=6.0 | :x: | EOL |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
For the moment, you can reach out @leokhoa via Slack: <https://laragon.slack.com/> - send a direct message.
|
||||
|
||||
More options will be evaluated in the near future.
|
||||
If you find a security vulnerability in Laragon, please report it via email to Leo Khoa at leo@laragon.org
|
||||
We take security seriously, and all reports will be promptly addressed.
|
||||
|
||||
321
bin/laragon/lang/Thai.txt
Normal file
321
bin/laragon/lang/Thai.txt
Normal file
@@ -0,0 +1,321 @@
|
||||
--------------------------------------------------------
|
||||
version: 8.0.0
|
||||
author: jaideejung007
|
||||
date: 20250724
|
||||
--------------------------------------------------------
|
||||
# Main Interface
|
||||
100 = เริ่มทั้งหมด
|
||||
101 = เว็บ
|
||||
102 = ฐานข้อมูล
|
||||
103 = Terminal
|
||||
104 = Root
|
||||
105 = หยุด
|
||||
106 = กำลังหยุด...
|
||||
107 = รีโหลด
|
||||
108 = เริ่ม
|
||||
109 = เวอร์ชัน
|
||||
110 = เปิดใช้งาน
|
||||
111 = หยุดทั้งหมด
|
||||
112 = ปิด
|
||||
113 = ย่อ
|
||||
114 = ขยาย
|
||||
115 = ใช่
|
||||
116 = ไม่
|
||||
117 = ยกเลิก
|
||||
118 = ตกลง
|
||||
119 = เปิด
|
||||
120 = ปิด
|
||||
121 = เมนู
|
||||
122 = หากคุณมีคำถาม โปรดติดต่อ
|
||||
|
||||
# Menu
|
||||
199 = www
|
||||
200 = เครื่องมือ
|
||||
201 = Path
|
||||
202 = ถ่ายโอนไฟล์
|
||||
203 = สร้างโปรเจกต์
|
||||
204 = สลับโปรเจกต์
|
||||
205 = สร้างฐานข้อมูล
|
||||
206 = เปลี่ยนรหัสผ่าน root
|
||||
207 = Mail Catcher
|
||||
208 = ดูอีเมลล่าสุด
|
||||
209 = เปิดโฟลเดอร์อีเมล
|
||||
210 = คัดลอก sendmail_path
|
||||
211 = การกำหนดค่า
|
||||
212 = ตัวส่งอีเมล
|
||||
213 = ส่วนขยาย
|
||||
214 = ผู้ดูแลเว็บ
|
||||
215 = ล็อกอิน
|
||||
216 = การตั้งค่า
|
||||
217 = ออก
|
||||
218 = ชื่อโปรเจกต์
|
||||
|
||||
|
||||
# Preferences
|
||||
300 = ทั่วไป
|
||||
301 = เซอร์วิส && พอร์ต
|
||||
310 = รัน Laragon เมื่อ Windows เริ่มทำงาน
|
||||
311 = รัน Laragon อัตโนมัติเมื่อ Windows เริ่มทำงาน
|
||||
312 = รันแบบย่อหน้าต่าง
|
||||
|
||||
# \n for a new line
|
||||
313 = ย่อ Laragon ไปที่ System Tray\nคลิกซ้ายที่ไอคอนของ Laragon ใน System Tray เพื่อแสดง Laragon
|
||||
314 = เริ่มทั้งหมดอัตโนมัติ
|
||||
315 = เริ่มเซอร์วิสที่เลือกทั้งหมดโดยอัตโนมัติเมื่อ Laragon รัน
|
||||
316 = ภาษา
|
||||
|
||||
317 = Document Root
|
||||
318 = คลิกเพื่อเปลี่ยน Document Root
|
||||
319 = ไดเรกทอรีข้อมูล
|
||||
320 = คลิกเพื่อเปลี่ยน DataDir ของ MySQL
|
||||
|
||||
322 = สร้าง Virtual Hosts อัตโนมัติ
|
||||
323 = เพียงวางโฟลเดอร์ใน Document Root และรีโหลด Apache Laragon จะสร้างชื่อโฮสต์ที่สอดคล้องกันในไฟล์ hosts และ Virtual Hosts ของ Apache ให้โดยอัตโนมัติ
|
||||
|
||||
# %s for a string placeholder
|
||||
324 = ชื่อโฮสต์
|
||||
325 = รูปแบบชื่อโฮสต์\nตัวอย่าง: ถ้าชื่อโปรเจกต์ของคุณคือ %s
|
||||
|
||||
|
||||
328 = ขั้นสูง
|
||||
329 = เมื่อฟังก์ชัน mail() ถูกเรียก Laragon จะแสดงข้อมูลอีเมล\nในหน้าต่างเล็กๆ ที่มุมขวาล่างของหน้าจอ
|
||||
330 = หน้าต่างจะแสดงเป็นเวลา
|
||||
331 = ฟีเจอร์นี้ช่วยให้คุณตรวจสอบเนื้อหาอีเมลได้อย่างรวดเร็ว\nคุณยังสามารถดูเนื้อหาของอีเมลล่าสุดได้ทาง:\nเมนู > PHP > MailCatcher
|
||||
|
||||
340 = ชื่อบัญชี Gmail
|
||||
341 = รหัสผ่านบัญชี Gmail
|
||||
342 = ทดสอบการส่งอีเมล
|
||||
343 = คุณอาจต้องอนุญาต "การเข้าถึงของแอปที่มีความปลอดภัยน้อย" ในบัญชี Google ของคุณ\nรหัสผ่าน Gmail ของคุณจะถูกเข้ารหัส\nเมื่อเปิดใช้งาน คุณสามารถส่งอีเมลได้อย่างง่ายดายด้วยโค้ดเพียงบรรทัดเดียว:
|
||||
|
||||
|
||||
# Mail Analyzer
|
||||
350 = ตัววิเคราะห์อีเมล
|
||||
351 = ส่งอีเมลทดสอบไปที่
|
||||
352 = ทดสอบอีกครั้ง
|
||||
353 = ทดสอบการส่งอีเมลอีกครั้ง คุณสามารถป้อนที่อยู่อีเมลอื่นเพื่อทดสอบได้
|
||||
354 = ปิด
|
||||
|
||||
|
||||
# System Tray
|
||||
400 = Laragon ถูกย่อไว้ที่นี่
|
||||
401 = สลับไปยังโปรเจกต์:
|
||||
402 = สร้างฐานข้อมูลแล้ว
|
||||
403 = เปลี่ยนรหัสผ่าน root ของ MySQL สำเร็จแล้ว
|
||||
404 = รีโหลด Apache แล้ว
|
||||
405 = Path ไม่ถูกต้อง
|
||||
406 = ตรวจพบโปรเจกต์ใหม่\nLaragon จะเรียก nodejs เพื่อสร้าง Virtual Hosts ให้คุณ
|
||||
|
||||
|
||||
# Hint
|
||||
500 = ช่วยเหลือออนไลน์
|
||||
501 = คลิกซ้าย: เปิด Laragon - คลิกขวา: เมนู
|
||||
502 = หน้าเริ่มต้น
|
||||
503 = การจัดการฐานข้อมูล
|
||||
504 = เปิด Terminal (Cmder)
|
||||
505 = Laragon จะเรียก nodejs เพื่อสร้าง Virtual Hosts ให้คุณ\nหากคุณต้องการฟีเจอร์นี้โดยไม่ต้องเรียก nodejs:\nรัน Laragon ในฐานะ Administrator
|
||||
506 = Document Root
|
||||
|
||||
# Quick create website/project
|
||||
600 = กำลังสร้าง
|
||||
601 = สร้างแล้ว
|
||||
602 = กำลังดาวน์โหลด
|
||||
603 = ดาวน์โหลดแล้ว
|
||||
604 = กำลังแตกไฟล์
|
||||
605 = แตกไฟล์แล้ว
|
||||
606 = สร้าง URL แบบอ่านง่ายแล้ว
|
||||
607 = แอปด่วน
|
||||
608 = ชื่อเว็บไซต์
|
||||
609 = กรุณาระบุชื่อโปรเจกต์
|
||||
610 = สร้าง %s สำเร็จแล้ว
|
||||
611 = ไม่สามารถสร้าง %s ได้ เหตุผล: %s
|
||||
612 = สำรวจ
|
||||
613 = คลิกเพื่อไปยังโฟลเดอร์ของโปรเจกต์
|
||||
614 = คลิกเพื่อเยี่ยมชมเว็บไซต์
|
||||
|
||||
|
||||
|
||||
# Messages
|
||||
700 = sendmail_path ถูกคัดลอกไปยังคลิปบอร์ดแล้ว
|
||||
701 = ฟีเจอร์นี้ไม่พร้อมใช้งานบนคอมพิวเตอร์ของคุณ
|
||||
702 = กรุณาเริ่ม %s ก่อน
|
||||
703 = ชื่อไม่ถูกต้อง
|
||||
704 = ไดเรกทอรีนี้ไม่มีโปรเจกต์ Laravel ที่ถูกต้อง
|
||||
705 = กรุณาเริ่ม PHP Server
|
||||
706 = ไปที่ เมนู > การตั้งค่า > เซอร์วิส & พอร์ต และเปิดใช้งาน PHP Server
|
||||
707 = มีโปรเจกต์นี้อยู่แล้ว
|
||||
708 = หากคุณต้องการสร้างโปรเจกต์จริงๆ ให้ลบโฟลเดอร์ของโปรเจกต์แล้วลองอีกครั้ง
|
||||
709 = ไม่มีโฟลเดอร์
|
||||
710 = ไม่มีไฟล์
|
||||
711 = %s ไม่ได้ทำงานอยู่ กรุณาเริ่ม Redis Server ก่อน
|
||||
712 = Path ที่ติดตั้ง Laragon ไม่ควรมีช่องว่าง (เพื่อหลีกเลี่ยงปัญหาที่อาจเกิดขึ้น)
|
||||
713 = เซอร์วิส %s กำลังทำงานอยู่ แต่ภายใต้โปรเซสอื่น
|
||||
714 = กรุณาหยุด WAMP stack ปัจจุบันของคุณ มิฉะนั้นการทำงานของ Laragon อาจไม่สามารถคาดเดาได้
|
||||
715 = Path ของโปรเซส:
|
||||
|
||||
# Hope you never see these :)
|
||||
716 = อุ๊ปส์! เกิดข้อผิดพลาดบางอย่าง...Laragon ตรวจพบข้อผิดพลาด exception:
|
||||
717 = ไม่สามารถสร้างฐานข้อมูล %s ได้ เหตุผล: %s
|
||||
718 = ไม่สามารถเปลี่ยนรหัสผ่าน root ของ MySQL ได้ เหตุผล: %s
|
||||
719 = คุณต้องระบุที่อยู่ Gmail ที่ถูกต้อง
|
||||
720 = ไม่สามารถสร้างทางลัดในโฟลเดอร์ Startup ได้
|
||||
721 = ไม่สามารถลบทางลัดจากโฟลเดอร์ Startup ได้
|
||||
722 = รูปแบบไม่ถูกต้อง ต้องมีรูปแบบชื่อโปรเจกต์เป็น {name}.xxx
|
||||
723 = รูปแบบไม่ถูกต้อง ไม่ใช่ชื่อโฮสต์ที่ถูกต้อง
|
||||
724 = ไม่ใช่ Data Dir ของ MySQL ที่ถูกต้อง
|
||||
725 = คุณต้องเปิดใช้งานเซอร์วิส Apache และ MySQL ใน เมนู > การตั้งค่า > เซอร์วิส & พอร์ต
|
||||
|
||||
# When Laragon cannot modify the hosts file
|
||||
726 = อุ๊ปส์! ระบบของคุณป้องกันการแก้ไขไฟล์ hosts\nกรุณาตรวจสอบโปรแกรมป้องกันไวรัส หรือ Permissions ในแท็บ Security หรือตรวจสอบว่าไฟล์เป็นแบบอ่านอย่างเดียวหรือไม่\nLaragon จะปิดใช้งานฟีเจอร์ "สร้าง Virtual Hosts อัตโนมัติ" ชั่วคราว
|
||||
727 = เพื่อให้ฟีเจอร์นี้ใช้งานได้ คุณสามารถลอง:\n1. ไปที่: %s\drivers\etc\n2. คลิกขวาที่ไฟล์ hosts และเอาเครื่องหมายถูกออกจากช่อง Read-only
|
||||
728 = หมายเหตุ: Permissions ปัจจุบันของไฟล์ hosts:
|
||||
|
||||
# hosts file is Read-only
|
||||
729 = อ่านอย่างเดียว
|
||||
|
||||
# Write permission in Security tab
|
||||
730 = Security > Write
|
||||
|
||||
|
||||
# MySQL
|
||||
800 = ชื่อฐานข้อมูล
|
||||
801 = รหัสผ่านใหม่
|
||||
802 = รหัสผ่านปัจจุบัน
|
||||
|
||||
|
||||
|
||||
# Version 2
|
||||
219 = Ngrok
|
||||
220 = แชร์
|
||||
221 = ลิงก์ Ngrok ถูกคัดลอกไปยังคลิปบอร์ดแล้ว
|
||||
222 = Ngrok tunnel พร้อมแล้ว
|
||||
223 = คลิกเพื่อแก้ไขไฟล์ hosts ในฐานะ Administrator ด้วยตนเอง
|
||||
224 = เริ่มแล้ว
|
||||
226 = กำลังคลายไฟล์
|
||||
227 = คลายไฟล์แล้ว
|
||||
228 = รูปแบบไม่รองรับ
|
||||
229 = กรุณารอจนกว่าการแยกไฟล์จะเสร็จสมบูรณ์
|
||||
230 = ลิงก์ไม่ถูกต้อง
|
||||
231 = เกิดข้อผิดพลาดขณะดาวน์โหลด กรุณาลองอีกครั้ง
|
||||
232 = เกิดข้อผิดพลาด บางทีลิงก์ดาวน์โหลดของคุณอาจไม่ถูกต้อง
|
||||
233 = กรุณาตรวจสอบลิงก์และลองอีกครั้ง
|
||||
234 = เยี่ยมชมเว็บไซต์
|
||||
235 = ปิดและเยี่ยมชมเว็บไซต์
|
||||
236 = แก้ไข
|
||||
237 = สลับ Document Root
|
||||
238 = เลือกอันอื่น
|
||||
239 = มีฐานข้อมูลนี้อยู่แล้ว
|
||||
240 = เว้นว่างไว้หากไม่ทราบ
|
||||
241 = พอร์ต SSL ของ Apache ถูกปิดใช้งานโดยปริยาย ทำเครื่องหมายเพื่อเปิดใช้งาน
|
||||
242 = สร้างใบรับรอง SSL แล้ว
|
||||
243 = คุณต้องคลิก [%s] ก่อน
|
||||
244 = สร้างฐานข้อมูลอัตโนมัติ
|
||||
245 = วิธีบังคับให้ Wordpress ใช้ URL แบบสัมพัทธ์
|
||||
246 = คลิกซ้าย
|
||||
247 = คลิกขวา
|
||||
248 = ที่ติดตั้ง Laragon
|
||||
249 = ลบทั้งหมด [อัตโนมัติ]
|
||||
250 = ไฟล์การตั้งค่า
|
||||
251 = ไฟล์ Startup
|
||||
252 = วิธีเพิ่ม %s เวอร์ชันอื่น
|
||||
253 = Laragon กำลังทำงานอยู่แล้ว
|
||||
|
||||
|
||||
# Reset & generate a random password for root
|
||||
803 = รีเซ็ตและสร้างรหัสผ่านแบบสุ่มสำหรับ root
|
||||
804 = คุณสามารถแก้ไขปัญหาได้โดยการรีเซ็ตรหัสผ่าน MySQL สำหรับ root ที่
|
||||
805 = ตรวจจับว่า MySQL กำลังทำงานหรือไม่
|
||||
806 = %s กำลังทำงานด้วย PID %d
|
||||
807 = พบหนึ่งโปรเซส
|
||||
808 = คุณต้องหยุดเซิร์ฟเวอร์ MySQL ก่อน
|
||||
|
||||
810 = เริ่มเซิร์ฟเวอร์ MySQL ด้วยตัวเลือก %s
|
||||
811 = กำลังรีเซ็ตรหัสผ่าน root และสร้างรหัสผ่านแบบสุ่ม
|
||||
812 = รีเซ็ตและสร้างรหัสผ่าน root ของ MySQL แล้ว
|
||||
813 = คัดลอกไปยังคลิปบอร์ดแล้ว: %s
|
||||
814 = เกิดข้อผิดพลาด %s
|
||||
815 = กำลังหยุด MySQL - PID %d
|
||||
816 = ไม่สามารถหยุด MySQL ที่กำลังทำงานอยู่ได้ - PID %d
|
||||
817 = คุณอาจลองรีเซ็ตด้วยตนเอง: %s
|
||||
818 = เสร็จสิ้น
|
||||
|
||||
|
||||
# Windows Explorer's Context Menu - && is not typo
|
||||
830 = เมนูคลิกขวา
|
||||
831 = เพิ่ม Sublime Text && Terminal
|
||||
832 = ลบ Sublime Text && Terminal
|
||||
833 = แก้ไขด้วย Sublime Text
|
||||
834 = เปิดโฟลเดอร์ใน Sublime Text
|
||||
836 = กรุณารัน Laragon ในฐานะ Administrator แล้วลองอีกครั้ง
|
||||
|
||||
|
||||
# Setup
|
||||
900 = Laragon ทำงานเร็วมากและใช้หน่วยความจำน้อยมาก (< 10 MB)
|
||||
901 = แอปของคุณจะได้รับ URL แบบอ่านง่าย ---> https://app.test
|
||||
902 = เพิ่ม Sublime Text && Terminal ไปยังเมนูคลิกขวา
|
||||
903 = วิธีเปิด Text Editor และ Command Prompt อย่างรวดเร็ว
|
||||
904 = ดูไฟล์ README
|
||||
905 = รัน Laragon
|
||||
|
||||
# SSL
|
||||
906 = สร้างใบรับรอง SSL อัตโนมัติ
|
||||
|
||||
# Version 3
|
||||
140 = กำลังเตรียมข้อมูลเริ่มต้น...
|
||||
141 = ไม่สามารถเตรียมข้อมูลเริ่มต้นได้ โปรดลองอีกครั้ง
|
||||
142 = ภูมิภาค
|
||||
150 = เพิ่ม Laragon ไปยัง Path
|
||||
151 = นำ Laragon ออกจาก Path
|
||||
152 = จัดการ Path
|
||||
153 = เพิ่ม Laragon ไปยัง Path แล้ว คุณอาจต้องออกจากระบบและเข้าสู่ระบบอีกครั้งเพื่อให้การเปลี่ยนแปลงมีผล
|
||||
154 = นำ Laragon ออกจาก Path แล้ว
|
||||
155 = ปิดทั้งหมด
|
||||
156 = รันอัตโนมัติ
|
||||
157 = กำลังหยุดเซอร์วิสที่ทำงานอยู่...
|
||||
158 = ช่วยเหลือ
|
||||
|
||||
# Version 3.1.3
|
||||
159 = สร้าง QR Code อัตโนมัติ
|
||||
|
||||
# Version 3.3.1
|
||||
160 = SSL เปิดใช้งานอยู่ คลิกเพื่อปิดใช้งาน
|
||||
161 = เพิ่ม laragon.crt ไปยัง Trust Store
|
||||
162 = ตัวจัดการใบรับรอง
|
||||
163 = ตั้งค่าด่วน
|
||||
164 = วิธีจัดการ "%s"
|
||||
165 = วิธีเพิ่ม Xdebug ไปยัง Laragon
|
||||
166 = WildcardDNS
|
||||
167 = คืออะไร
|
||||
|
||||
# Version 3.5
|
||||
920 = โคลน
|
||||
921 = เลือกโปรเจกต์ที่จะโคลน
|
||||
922 = โคลนฐานข้อมูลแล้ว
|
||||
|
||||
# version 7.0 Laragon 2025
|
||||
927 = ลบโปรเจกต์
|
||||
928 = โปรไฟล์
|
||||
929 = โปรไฟล์ปัจจุบัน
|
||||
930 = โปรไฟล์ใหม่
|
||||
931 = ชื่อโปรไฟล์
|
||||
932 = การดำเนินการ
|
||||
940 = คุณต้องเปิดใช้งานและเริ่ม Mailpit
|
||||
|
||||
|
||||
# version 8.0 Laragon 2025
|
||||
168 = SSL ปิดใช้งานอยู่ คลิกเพื่อเปิดใช้งาน
|
||||
|
||||
|
||||
360 = สำรองข้อมูลอัตโนมัติ
|
||||
361 = Laragon จะสำรองข้อมูลในไดเรกทอรีข้อมูลของคุณโดยอัตโนมัติทุก 8 ชั่วโมง โดยจัดเก็บข้อมูลสำรองไว้ใน %s และเก็บเวอร์ชันล่าสุด 5 เวอร์ชันไว้เพื่อความปลอดภัย
|
||||
362 = ช่วงเวลาสำรองข้อมูล
|
||||
363 = ชั่วโมง
|
||||
380 = อัปเดตอัตโนมัติ
|
||||
381 = Laragon จะตรวจสอบ ดาวน์โหลด และกำหนดค่า PHP เวอร์ชันล่าสุดโดยอัตโนมัติ ทำให้สภาพแวดล้อมทันสมัยอยู่เสมออย่างง่ายดาย
|
||||
382 = %s [%s] เวอร์ชันล่าสุดถูกเพิ่มไปยัง Laragon แล้ว
|
||||
383 = %s [%s] มีเวอร์ชันใหม่พร้อมใช้งาน
|
||||
|
||||
|
||||
260 = คัดลอกรหัสผ่าน root
|
||||
261 = สำรองข้อมูลทุกฐานข้อมูล
|
||||
262 = ฐานข้อมูล MySQL ทั้งหมดถูกสำรองไปยัง %s เรียบร้อยแล้ว
|
||||
263 = รหัสผ่าน root ของ MySQL ถูกคัดลอกไปยังคลิปบอร์ดแล้ว
|
||||
@@ -13,5 +13,3 @@ SSLProxyProtocol all -SSLv3
|
||||
|
||||
SSLSessionCache "shmcb:logs/ssl_scache(512000)"
|
||||
SSLSessionCacheTimeout 300
|
||||
|
||||
|
||||
BIN
laragon.exe
BIN
laragon.exe
Binary file not shown.
@@ -12,4 +12,3 @@
|
||||
; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb
|
||||
; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -12,4 +12,3 @@
|
||||
; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb
|
||||
; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -1,25 +1,33 @@
|
||||
# PHP
|
||||
# https://windows.php.net/download/
|
||||
# NTS = Non Thread Safe
|
||||
*PHP-8.4=https://windows.php.net/downloads/releases/archives/php-8.4.2-nts-Win32-vs17-x64.zip
|
||||
*PHP-8.3=https://windows.php.net/downloads/releases/archives/php-8.3.15-nts-Win32-vs16-x64.zip
|
||||
*PHP-8.2=https://windows.php.net/downloads/releases/archives/php-8.2.27-nts-Win32-vs16-x64.zip
|
||||
*PHP-8.1=https://windows.php.net/downloads/releases/archives/php-8.1.31-nts-Win32-vs16-x64.zip
|
||||
*PHP-8.4=https://windows.php.net/downloads/releases/archives/php-8.4.3-nts-Win32-vs17-x64.zip
|
||||
*PHP-8.3=https://windows.php.net/downloads/releases/archives/php-8.3.16-nts-Win32-vs16-x64.zip
|
||||
*PHP-8.2=https://windows.php.net/downloads/releases/archives/php-8.2.26-nts-Win32-vs16-x64.zip
|
||||
*PHP-8.1=https://windows.php.net/downloads/releases/archives/php-8.1.30-nts-Win32-vs16-x64.zip
|
||||
|
||||
|
||||
---
|
||||
# Web Servers
|
||||
Apache-2.4.63=https://www.apachelounge.com/download/VS17/binaries/httpd-2.4.63-250122-win64-VS17.zip
|
||||
Apache-2.4.57=https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.57-win64-VS16.zip
|
||||
Nginx-1.27.4=https://nginx.org/download/nginx-1.27.4.zip
|
||||
|
||||
---
|
||||
|
||||
|
||||
# Node.js
|
||||
# https://nodejs.org/en/download/prebuilt-binaries/current
|
||||
node-23=https://nodejs.org/dist/v23.4.0/node-v23.4.0-win-x64.zip
|
||||
node-22=https://nodejs.org/dist/v22.12.0/node-v22.12.0-win-x64.zip
|
||||
node-23.9=https://nodejs.org/dist/v23.9.0/node-v23.9.0-win-x64.zip
|
||||
node-22.14=https://nodejs.org/dist/v22.14.0/node-v22.14.0-win-x64.zip
|
||||
|
||||
---
|
||||
|
||||
|
||||
# phpMyAdmin
|
||||
# After download, visit -> http://localhost/phpmyadmin
|
||||
phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.zip
|
||||
phpmyadmin-6.0snapshot=https://files.phpmyadmin.net/snapshots/phpMyAdmin-6.0+snapshot-english.tar.xz
|
||||
phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-english.zip
|
||||
|
||||
# DB Tools
|
||||
DBeaver=https://dbeaver.io/files/dbeaver-ce-latest-win32.win32.x86_64.zip
|
||||
@@ -56,8 +64,10 @@ code=https://go.microsoft.com/fwlink/?Linkid=850641
|
||||
---
|
||||
# Golang
|
||||
# https://go.dev/dl/
|
||||
golang-1.23=https://go.dev/dl/go1.23.4.windows-amd64.zip
|
||||
go-1.24=https://go.dev/dl/go1.24.1.windows-amd64.zip
|
||||
go-1.23=https://go.dev/dl/go1.23.4.windows-amd64.zip
|
||||
|
||||
|
||||
# Pocketbase
|
||||
# https://github.com/pocketbase/pocketbase/releases
|
||||
pocketbase=https://github.com/pocketbase/pocketbase/releases/download/v0.23.7/pocketbase_0.23.7_windows_amd64.zip
|
||||
pocketbase=https://github.com/pocketbase/pocketbase/releases/download/v0.25.9/pocketbase_0.25.9_windows_amd64.zip
|
||||
|
||||
@@ -2,5 +2,32 @@
|
||||
AutoCreateDatabase=true
|
||||
Cached=true
|
||||
|
||||
# Blank: an empty project
|
||||
Blank=
|
||||
|
||||
# WordPress
|
||||
WordPress=https://wordpress.org/latest.zip
|
||||
WordPress=https://wordpress.org/latest.tar.gz
|
||||
------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Laravel
|
||||
|
||||
Laravel=composer create-project laravel/laravel %s --prefer-dist
|
||||
Laravel CLI=laravel new %s
|
||||
# Laravel (zip)=PATH-TO-YOUR-ZIP
|
||||
------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# CakePHP
|
||||
### CakePHP=composer create-project --prefer-dist cakephp/app %s
|
||||
|
||||
# Symfony
|
||||
Symfony=composer create-project symfony/website-skeleton %s
|
||||
|
||||
232
www/index.php
232
www/index.php
@@ -1,167 +1,105 @@
|
||||
<?php
|
||||
if (!empty($_GET['q'])) {
|
||||
switch ($_GET['q']) {
|
||||
case 'info':
|
||||
phpinfo();
|
||||
exit;
|
||||
break;
|
||||
}
|
||||
$query = htmlspecialchars($_GET['q'], ENT_QUOTES, 'UTF-8');
|
||||
|
||||
switch ($query) {
|
||||
case 'info':
|
||||
phpinfo();
|
||||
exit;
|
||||
default:
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
echo "Invalid query parameter.";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Laragon</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Karla:400" rel="stylesheet" type="text/css">
|
||||
<link rel="shortcut icon" href="https://i.imgur.com/ky9oqct.png" type="image/png">
|
||||
<style>
|
||||
*,
|
||||
:before *,
|
||||
:after * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Laragon</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Karla:400" rel="stylesheet" type="text/css">
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Karla', sans-serif;
|
||||
font-weight: 100;
|
||||
background-color: #f9f9f9;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-weight: 100;
|
||||
font-family: 'Karla', sans-serif;
|
||||
font-size: 18px;
|
||||
}
|
||||
.container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
header,
|
||||
main,
|
||||
nav,
|
||||
aside {
|
||||
padding: 1rem;
|
||||
margin: auto;
|
||||
max-width: 1200px;
|
||||
text-align: center;
|
||||
}
|
||||
.content {
|
||||
max-width: 800px;
|
||||
padding: 100px;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.title {
|
||||
font-size: 60px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header__item {
|
||||
margin: 0;
|
||||
padding: 1rem;
|
||||
}
|
||||
.info {
|
||||
margin-top: 20px;
|
||||
font-size: 18px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.header--logo {
|
||||
height: 8rem;
|
||||
}
|
||||
.info a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 5rem;
|
||||
}
|
||||
.info a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
main {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.opt {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
nav {
|
||||
width: 100%;
|
||||
}
|
||||
.opt a {
|
||||
font-size: 18px;
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #37ADFF;
|
||||
font-weight: 900;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: red;
|
||||
font-weight: 900;
|
||||
transition: 300ms;
|
||||
}
|
||||
|
||||
main a {
|
||||
color: grey;
|
||||
}
|
||||
|
||||
nav a {
|
||||
display: block;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
nav a:after {
|
||||
content: '→';
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.alert {
|
||||
color: red;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
@media (min-width: 650px) {
|
||||
h1 {
|
||||
font-size: 10rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
.opt a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<img class="header__item header--logo" src="https://i.imgur.com/ky9oqct.png" alt="Offline">
|
||||
<h1 class="header__item header--title" title="Laragon">Laragon</h1>
|
||||
</header>
|
||||
<main>
|
||||
<p>
|
||||
<?php print($_SERVER['SERVER_SOFTWARE']); ?>
|
||||
</p>
|
||||
<p>
|
||||
PHP version: <?php print PHP_VERSION; ?> <span><a title="phpinfo()" href="/?q=info">info</a></span>
|
||||
</p>
|
||||
<p>
|
||||
Document Root: <?php print($_SERVER['DOCUMENT_ROOT']); ?>
|
||||
</p>
|
||||
<p>
|
||||
<a title="Getting Started" href="https://laragon.org/docs">Getting Started</a>
|
||||
</p>
|
||||
</main>
|
||||
<?php
|
||||
$dirList = glob('*', GLOB_ONLYDIR);
|
||||
if (!empty($dirList)) :
|
||||
?>
|
||||
<nav>
|
||||
<ul>
|
||||
<?php
|
||||
foreach ($dirList as $key => $value) :
|
||||
$link = 'https://' . $value . '.test';
|
||||
?>
|
||||
<a href="<?php echo $link; ?>" target="_blank"><?php echo $link; ?></a>
|
||||
<?php
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php
|
||||
else :
|
||||
?>
|
||||
<aside>
|
||||
<p class="alert">There are no directories, create your first project now</p>
|
||||
<div>
|
||||
<img src="https://i.imgur.com/3Sgu8XI.png" alt="Offline">
|
||||
</div>
|
||||
</aside>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<h1 class="title" title="Laragon">Laragon</h1>
|
||||
<div class="info">
|
||||
<p><?php echo htmlspecialchars($_SERVER['SERVER_SOFTWARE'], ENT_QUOTES, 'UTF-8'); ?></p>
|
||||
<p>PHP version: <?php echo htmlspecialchars(phpversion(), ENT_QUOTES, 'UTF-8'); ?>
|
||||
<a title="phpinfo()" href="/?q=info">info</a>
|
||||
</p>
|
||||
<p>Document Root: <?php echo htmlspecialchars($_SERVER['DOCUMENT_ROOT'], ENT_QUOTES, 'UTF-8'); ?></p>
|
||||
</div>
|
||||
<div class="opt">
|
||||
<p><a title="Getting Started" href="https://laragon.org/docs">Getting Started</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user