30 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
b0885989e4 Update version information to clarify auto-update system and current software versions
Co-authored-by: alxndr-w <3855487+alxndr-w@users.noreply.github.com>
2025-09-05 07:38:06 +00:00
Alexander Walther
00d8a84e16 Update .github/copilot-instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-05 09:33:15 +02:00
copilot-swe-agent[bot]
fee18b42db Add comprehensive GitHub Copilot instructions for Laragon repository
Co-authored-by: alxndr-w <3855487+alxndr-w@users.noreply.github.com>
2025-09-05 07:11:59 +00:00
copilot-swe-agent[bot]
11e3ffc1d2 Initial plan 2025-09-05 07:04:30 +00:00
Leo Khoa
cf4bcd6d9f Merge pull request #1258 from jaideejung007/master
Add Thai Translation
2025-07-26 10:49:20 +07:00
jaideejung007
df3d72b936 Add Thai Translation 2025-07-24 09:55:06 +07:00
Leo Khoa
5d48b71858 Improve verifying license process 2025-07-17 18:19:08 +02:00
Leo Khoa
75a4430457 Allow root login without a password #1240 2025-07-16 03:24:45 +02:00
Leo Khoa
705c0da87b Fix close to system tray issue #1219 2025-06-29 13:29:31 +02:00
Leo Khoa
6a9a83fb47 Improve AutoSSL 2025-05-25 18:43:37 +02:00
Leo Khoa
593338f8f8 Update the laragon core 2025-05-01 11:20:45 +02:00
Leo Khoa
f403e94463 Merge pull request #1147 from AhmedAlaa4611/master
Remove trailing whitespace
2025-05-01 11:18:15 +02:00
Ahmed Alaa
ec467a6f33 Remove trailing whitespace 2025-05-01 11:34:28 +03:00
Leo Khoa
4b7289618f Update resources info to match with the latest version 2025-04-23 17:57:22 +02:00
Leo Khoa
b716689318 Fixed license issue on old server
Crash when inserting license key in Laragon 8 on Windows Server 2012 R2
https://github.com/leokhoa/laragon/discussions/1106
2025-04-03 11:02:25 +02:00
Leo Khoa
b99af56576 Update Laragon 2025-04-03 10:48:48 +02:00
Leo Khoa
45219c7b39 Add files via upload 2025-03-24 10:02:51 +01:00
Leo Khoa
98a6ced6b0 Update CHANGELOG.md 2025-03-18 21:40:52 +01:00
Leo Khoa
620dc8bc72 Merge pull request #1077 from leokhoa/alxndr-w-patch-1
Update README.md with license information
2025-03-18 21:39:46 +01:00
Alexander Walther
3ad0d09569 Update README.md with license information 2025-03-18 13:21:43 +01:00
Leo Khoa
9fdd698e09 Fixed minor issues 2025-03-14 18:13:00 +01:00
Leo Khoa
ea6254fc80 Laragon 8.0.0 2025-03-13 21:25:13 +01:00
Leo Khoa
566be5ce9f Update sites.conf 2025-03-13 21:24:27 +01:00
Leo Khoa
959aab1bc7 Merge pull request #1057 from leokhoa/leokhoa-patch-3
Update packages.conf
2025-03-13 21:22:50 +01:00
Leo Khoa
3f0534e0e1 Update packages.conf 2025-03-13 21:22:11 +01:00
Leo Khoa
6d0ca768f9 Update packages.conf
Fix broken PHP links
2025-02-27 08:18:10 +01:00
Leo Khoa
1bf6169ffc Track changes from version 7.0.0 2025-02-06 11:04:39 +01:00
Leo Khoa
6959b13189 Fix css issue
https://github.com/leokhoa/laragon/issues/339
2025-02-03 22:33:56 +01:00
Leo Khoa
2631fda37b Fix bug #689
https://github.com/leokhoa/laragon/issues/689
2025-02-03 22:32:38 +01:00
Leo Khoa
3fcd32d767 Merge pull request #1007 from leokhoa/leokhoa-patch-2
Update SECURITY.md
2025-02-02 13:01:08 +01:00
26 changed files with 736 additions and 218 deletions

223
.github/copilot-instructions.md vendored Normal file
View 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
View File

@@ -0,0 +1 @@
https://github.com/leokhoa/laragon/releases

View File

@@ -6,18 +6,20 @@ 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 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. 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! Enjoy!
> Starting with Laragon 7.x, a license is required to use Laragon. For more details, visit <https://laragon.lemonsqueezy.com/>.
## Features ## Features
- **Pretty URLs** - **Pretty URLs**
Use `app.test` instead of `localhost/app`. Use `app.test` instead of `localhost/app`.
- **Portable** - **Portable**
You can move Laragon folder around (to another disks, to another laptops, sync to Cloud,...) without any worries. You can move Laragon folder around (to another disks, to another laptops, sync to Cloud,...) without any worries.
- **Isolated** - **Isolated**
Laragon has an isolated environment with your OS - it will keep your system clean. Laragon has an isolated environment with your OS - it will keep your system clean.
- **Easy Operation** - **Easy Operation**
@@ -26,7 +28,7 @@ Enjoy!
Laragon comes with a modern architecture which is suitable to build modern web apps. You can work with both Apache & Nginx as they are fully-managed. Laragon comes with a modern architecture which is suitable to build modern web apps. You can work with both Apache & Nginx as they are fully-managed.
Also, Laragon makes things a lot easier: Also, Laragon makes things a lot easier:
- Wanna have a Wordpress CMS? Just 1 click. - Wanna have a Wordpress CMS? Just 1 click.
- Wanna show your local project to customers? Just 1 click. - Wanna show your local project to customers? Just 1 click.
- Wanna enable/disable a PHP extension? Just 1 click. - Wanna enable/disable a PHP extension? Just 1 click.
@@ -37,7 +39,7 @@ Enjoy!
## How fast? ## How fast?
Laragon starts instantly. You can set Laragon autorun when Windows starts. When running, Laragon uses just a little amount of your RAM. Laragon starts instantly. You can set Laragon autorun when Windows starts. When running, Laragon uses just a little amount of your RAM.
Here is the GUI of Laragon: Here is the GUI of Laragon:
![0_1513173700919_01-dashboard.png](https://i.imgur.com/0py3k1X.png) ![0_1513173700919_01-dashboard.png](https://i.imgur.com/0py3k1X.png)
## How easy? ## How easy?
- Laragon is very easy to install & upgrade. Just download the latest version and click `Next, Next, Next...` - Laragon is very easy to install & upgrade. Just download the latest version and click `Next, Next, Next...`

View File

@@ -2,12 +2,12 @@
## Supported Versions ## Supported Versions
| Version | Supported |Reason | | Version | Supported |Reason |
| ------- | ------------------ | ---------- | | ------- | ------------------ | ---------- |
| >=7.0 | :white_check_mark: | | | >=7.0 | :white_check_mark: | |
| <=6.0 | :x: | EOL | | <=6.0 | :x: | EOL |
## Reporting a Vulnerability ## Reporting a Vulnerability
If you find a security vulnerability in Laragon, please report it via email to Leo Khoa at leo@laragon.org 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. We take security seriously, and all reports will be promptly addressed.

321
bin/laragon/lang/Thai.txt Normal file
View 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 ถูกคัดลอกไปยังคลิปบอร์ดแล้ว

View File

@@ -1,10 +1,10 @@
Alias /adminer "C:/laragon/etc/apps/adminer/" Alias /adminer "C:/laragon/etc/apps/adminer/"
# to give access from outside # to give access from outside
# replace the lines # replace the lines
# #
# Require local # Require local
# #
# by # by
# #
# Require all granted # Require all granted
@@ -12,8 +12,8 @@ Alias /adminer "C:/laragon/etc/apps/adminer/"
<Directory "C:/laragon/etc/apps/adminer/"> <Directory "C:/laragon/etc/apps/adminer/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride all AllowOverride all
Require local Require local
</Directory> </Directory>

View File

@@ -1,10 +1,10 @@
Alias /laragon "C:/laragon/etc/apps/laragon/" Alias /laragon "C:/laragon/etc/apps/laragon/"
# to give access from outside # to give access from outside
# replace the lines # replace the lines
# #
# Require local # Require local
# #
# by # by
# #
# Require all granted # Require all granted
@@ -12,18 +12,18 @@ Alias /laragon "C:/laragon/etc/apps/laragon/"
<Directory "C:/laragon/etc/apps/laragon/"> <Directory "C:/laragon/etc/apps/laragon/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride None AllowOverride None
Require local Require local
</Directory> </Directory>
<Directory "C:/laragon/etc/apps/laragon/uploads/"> <Directory "C:/laragon/etc/apps/laragon/uploads/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride None AllowOverride None
DirectoryIndex None.Always.Listing DirectoryIndex None.Always.Listing
Require local Require local
SetHandler none SetHandler none
SetHandler default-handler SetHandler default-handler

View File

@@ -1,9 +1,9 @@
Alias /memcached "C:/laragon/etc/apps/memcached/" Alias /memcached "C:/laragon/etc/apps/memcached/"
# to give access from outside # to give access from outside
# replace the lines # replace the lines
# #
# Require local # Require local
# #
# by # by
# #
@@ -13,7 +13,7 @@ Alias /memcached "C:/laragon/etc/apps/memcached/"
<Directory "C:/laragon/etc/apps/memcached/"> <Directory "C:/laragon/etc/apps/memcached/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride all AllowOverride all
Require local Require local
</Directory> </Directory>

View File

@@ -1,10 +1,10 @@
Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/" Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/"
# to give access from outside # to give access from outside
# replace the lines # replace the lines
# #
# Require local # Require local
# #
# by # by
# #
# Require all granted # Require all granted
@@ -12,8 +12,8 @@ Alias /phpmyadmin "C:/laragon/etc/apps/phpMyAdmin/"
<Directory "C:/laragon/etc/apps/phpMyAdmin/"> <Directory "C:/laragon/etc/apps/phpMyAdmin/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride all AllowOverride all
Require local Require local
</Directory> </Directory>

View File

@@ -1,9 +1,9 @@
Alias /redis "C:/laragon/etc/apps/phpredisAdmin/" Alias /redis "C:/laragon/etc/apps/phpredisAdmin/"
# to give access from outside # to give access from outside
# replace the lines # replace the lines
# #
# Require local # Require local
# #
# by # by
# #
@@ -13,7 +13,7 @@ Alias /redis "C:/laragon/etc/apps/phpredisAdmin/"
<Directory "C:/laragon/etc/apps/phpredisAdmin/"> <Directory "C:/laragon/etc/apps/phpredisAdmin/">
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride all AllowOverride all
Require local Require local
</Directory> </Directory>

View File

@@ -8,7 +8,7 @@ FcgidInitialEnv TEMP "C:/Windows/Temp"
FcgidInitialEnv TMP "C:/Windows/Temp" FcgidInitialEnv TMP "C:/Windows/Temp"
FcgidInitialEnv windir "C:/Windows" FcgidInitialEnv windir "C:/Windows"
# 10 hrs: in case you have long running scripts, increase FcgidIOTimeout # 10 hrs: in case you have long running scripts, increase FcgidIOTimeout
FcgidIOTimeout 36000 FcgidIOTimeout 36000
FcgidConnectTimeout 16 FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 0 FcgidMaxRequestsPerProcess 0

View File

@@ -5,7 +5,7 @@ SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4 SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLHonorCipherOrder on SSLHonorCipherOrder on
SSLProtocol all -SSLv3 SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3 SSLProxyProtocol all -SSLv3
@@ -13,5 +13,3 @@ SSLProxyProtocol all -SSLv3
SSLSessionCache "shmcb:logs/ssl_scache(512000)" SSLSessionCache "shmcb:logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300 SSLSessionCacheTimeout 300

View File

@@ -38,14 +38,14 @@ if exist "%USER_DIR%\user.cmd" (
echo :: call start-ssh-agent.cmd echo :: call start-ssh-agent.cmd
echo :: set PATH=%%USER_DIR%%\bin\whatever;%%PATH%% echo :: set PATH=%%USER_DIR%%\bin\whatever;%%PATH%%
echo. echo.
echo :: cmd /c start http://localhost echo :: cmd /c start http://localhost
echo. echo.
) > "%USER_DIR%\user.cmd" ) > "%USER_DIR%\user.cmd"
:: cd /d "%CMDER_ROOT%\..\..\www" :: cd /d "%CMDER_ROOT%\..\..\www"
rem rem
) )
:: Laragon End ------------------------------------------------------------------- :: Laragon End -------------------------------------------------------------------
exit /b 0 exit /b 0

View File

@@ -6,7 +6,7 @@ location /adminer {
location ~ ^/adminer/(.+\.php)$ { location ~ ^/adminer/(.+\.php)$ {
alias C:/laragon/etc/apps/adminer/$1; alias C:/laragon/etc/apps/adminer/$1;
fastcgi_pass php_upstream; fastcgi_pass php_upstream;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -12,7 +12,7 @@ location ~ /laragon/uploads/(.+)\.php$ {
location ~ ^/laragon/(.+\.php)$ { location ~ ^/laragon/(.+\.php)$ {
allow all; allow all;
alias C:/laragon/etc/apps/laragon/$1; alias C:/laragon/etc/apps/laragon/$1;
fastcgi_pass php_upstream; fastcgi_pass php_upstream;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -3,10 +3,10 @@ location /memcached {
alias C:/laragon/etc/apps/memcached/; alias C:/laragon/etc/apps/memcached/;
index index.php; index index.php;
} }
location ~ ^/memcached/(.+\.php)$ { location ~ ^/memcached/(.+\.php)$ {
alias C:/laragon/etc/apps/memcached/$1; alias C:/laragon/etc/apps/memcached/$1;
fastcgi_pass php_upstream; fastcgi_pass php_upstream;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -3,12 +3,12 @@ location /phpmyadmin {
alias C:/laragon/etc/apps/phpmyadmin/; alias C:/laragon/etc/apps/phpmyadmin/;
index index.php; index index.php;
} }
location ~ ^/phpmyadmin/(.+\.php)$ { location ~ ^/phpmyadmin/(.+\.php)$ {
alias C:/laragon/etc/apps/phpmyadmin/$1; alias C:/laragon/etc/apps/phpmyadmin/$1;
fastcgi_pass php_upstream; fastcgi_pass php_upstream;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -6,7 +6,7 @@ location /redis {
location ~ ^/redis/(.+\.php)$ { location ~ ^/redis/(.+\.php)$ {
alias C:/laragon/etc/apps/phpRedisAdmin/$1; alias C:/laragon/etc/apps/phpRedisAdmin/$1;
fastcgi_pass php_upstream; fastcgi_pass php_upstream;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;

View File

@@ -173,9 +173,9 @@ class Memcached
protected $socket = null; protected $socket = null;
public function getVersion() { public function getVersion() {
return ['localhost:11211' => '1.4.5']; return ['localhost:11211' => '1.4.5'];
} }
//may check: https://raw.githubusercontent.com/GoogleCloudPlatform/python-compat-runtime/master/appengine-compat/exported_appengine_sdk/php/sdk/google/appengine/runtime/Memcached.php //may check: https://raw.githubusercontent.com/GoogleCloudPlatform/python-compat-runtime/master/appengine-compat/exported_appengine_sdk/php/sdk/google/appengine/runtime/Memcached.php
public function setMulti() { public function setMulti() {
@@ -185,7 +185,7 @@ class Memcached
//TODO //TODO
die('TODO'); die('TODO');
} }
/** /**
* Add a serer to the server pool * Add a serer to the server pool
* *
@@ -444,7 +444,7 @@ class Memcached
/** /**
* Store an item. * Store an item.
* Fails if $key already exists * Fails if $key already exists
* *
* @param string $key * @param string $key
@@ -464,7 +464,7 @@ class Memcached
if ('STORED' == $s) { if ('STORED' == $s) {
$this->resultCode = Memcached::RES_SUCCESS; $this->resultCode = Memcached::RES_SUCCESS;
$this->resultMessage = ''; $this->resultMessage = '';
return true; return true;
} else { } else {

Binary file not shown.

View File

@@ -9,7 +9,6 @@
; PWD: Current working directory - where the COMMANDS run ; PWD: Current working directory - where the COMMANDS run
# Examples: # Examples:
; 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 ; 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" ; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@@ -9,7 +9,6 @@
; PWD: Current working directory - where the COMMANDS run ; PWD: Current working directory - where the COMMANDS run
# Examples: # Examples:
; 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 ; 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" ; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@@ -1,25 +1,33 @@
# PHP # PHP
# https://windows.php.net/download/ # https://windows.php.net/download/
# NTS = Non Thread Safe # 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.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.15-nts-Win32-vs16-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.27-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.31-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 # Node.js
# https://nodejs.org/en/download/prebuilt-binaries/current # 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-23.9=https://nodejs.org/dist/v23.9.0/node-v23.9.0-win-x64.zip
node-22=https://nodejs.org/dist/v22.12.0/node-v22.12.0-win-x64.zip node-22.14=https://nodejs.org/dist/v22.14.0/node-v22.14.0-win-x64.zip
--- ---
# phpMyAdmin # phpMyAdmin
# After download, visit -> http://localhost/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 # DB Tools
DBeaver=https://dbeaver.io/files/dbeaver-ce-latest-win32.win32.x86_64.zip DBeaver=https://dbeaver.io/files/dbeaver-ce-latest-win32.win32.x86_64.zip
@@ -43,7 +51,7 @@ postgresql-15.10=https://sbp.enterprisedb.com/getfile.jsp?fileid=1259300
--- ---
# MongoDB # MongoDB
# https://www.mongodb.com/try/download/community # https://www.mongodb.com/try/download/community
#mongodb-8=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.4.zip #mongodb-8=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.4.zip
#mongodb-7=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14.zip #mongodb-7=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.14.zip
@@ -56,8 +64,10 @@ code=https://go.microsoft.com/fwlink/?Linkid=850641
--- ---
# Golang # Golang
# https://go.dev/dl/ # 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 # Pocketbase
# https://github.com/pocketbase/pocketbase/releases # 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

View File

@@ -1,15 +1,15 @@
Simplicity is the ultimate sophistication. - Leonardo da Vinci Simplicity is the ultimate sophistication. - Leonardo da Vinci
Success is going from failure to failure without losing your enthusiasm. - Winston Churchill Success is going from failure to failure without losing your enthusiasm. - Winston Churchill
The journey of a thousand miles begins with one step. - Lao Tzu The journey of a thousand miles begins with one step. - Lao Tzu
Dream big and dare to fail. - Norman Vaughan Dream big and dare to fail. - Norman Vaughan
The power of imagination makes us infinite. - John Muir The power of imagination makes us infinite. - John Muir
Make each day your masterpiece. - John Wooden Make each day your masterpiece. - John Wooden
Believe and act as if it were impossible to fail. - Charles Kettering Believe and act as if it were impossible to fail. - Charles Kettering
Light tomorrow with today. - Elizabeth Barrett Browning Light tomorrow with today. - Elizabeth Barrett Browning
Even if you're on the right track, you'll get run over if you just sit there. - Will Rogers Even if you're on the right track, you'll get run over if you just sit there. - Will Rogers
Believe you can and you're halfway there. - Theodore Roosevelt Believe you can and you're halfway there. - Theodore Roosevelt
Don't wait. The time will never be just right. - Napoleon Hill Don't wait. The time will never be just right. - Napoleon Hill
A year from now you may wish you had started today. - Karen Lamb A year from now you may wish you had started today. - Karen Lamb
It is never too late to be what you might have been. - George Eliot It is never too late to be what you might have been. - George Eliot
If there is no struggle, there is no progress. - Frederick Douglass If there is no struggle, there is no progress. - Frederick Douglass
What we fear doing most is usually what we most need to do. - Tim Ferriss What we fear doing most is usually what we most need to do. - Tim Ferriss

View File

@@ -2,5 +2,32 @@
AutoCreateDatabase=true AutoCreateDatabase=true
Cached=true Cached=true
# Blank: an empty project
Blank=
# WordPress # 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

View File

@@ -1,167 +1,105 @@
<?php <?php
if (!empty($_GET['q'])) { if (!empty($_GET['q'])) {
switch ($_GET['q']) { $query = htmlspecialchars($_GET['q'], ENT_QUOTES, 'UTF-8');
case 'info':
phpinfo(); switch ($query) {
exit; case 'info':
break; phpinfo();
} exit;
default:
header("HTTP/1.0 404 Not Found");
echo "Invalid query parameter.";
exit;
}
} }
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Laragon</title> <title>Laragon</title>
<link href="https://fonts.googleapis.com/css?family=Karla:400" rel="stylesheet" type="text/css"> <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>
<style> html, body {
*, height: 100%;
:before *, margin: 0;
:after * { padding: 0;
box-sizing: border-box; font-family: 'Karla', sans-serif;
} font-weight: 100;
background-color: #f9f9f9;
color: #333;
}
body { .container {
margin: 0; display: flex;
min-height: 100vh; justify-content: center;
font-weight: 100; align-items: center;
font-family: 'Karla', sans-serif; height: 100%;
font-size: 18px; text-align: center;
} }
header, .content {
main, max-width: 800px;
nav, padding: 100px;
aside { background: #fff;
padding: 1rem; border-radius: 8px;
margin: auto; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 1200px; }
text-align: center;
}
header { .title {
display: flex; font-size: 60px;
flex-wrap: wrap; margin: 0;
justify-content: center; }
align-items: center;
}
.header__item { .info {
margin: 0; margin-top: 20px;
padding: 1rem; font-size: 18px;
} line-height: 1.6;
}
.header--logo { .info a {
height: 8rem; color: #007bff;
} text-decoration: none;
}
h1 { .info a:hover {
font-size: 5rem; color: #0056b3;
} text-decoration: underline;
}
main { .opt {
background-color: #f5f5f5; margin-top: 30px;
} }
nav { .opt a {
width: 100%; font-size: 18px;
} color: #007bff;
text-decoration: none;
}
ul { .opt a:hover {
list-style: none; color: #0056b3;
padding: 0; text-decoration: underline;
margin: auto; }
} </style>
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>
</head> </head>
<body> <body>
<header> <div class="container">
<img class="header__item header--logo" src="https://i.imgur.com/ky9oqct.png" alt="Offline"> <div class="content">
<h1 class="header__item header--title" title="Laragon">Laragon</h1> <h1 class="title" title="Laragon">Laragon</h1>
</header> <div class="info">
<main> <p><?php echo htmlspecialchars($_SERVER['SERVER_SOFTWARE'], ENT_QUOTES, 'UTF-8'); ?></p>
<p> <p>PHP version: <?php echo htmlspecialchars(phpversion(), ENT_QUOTES, 'UTF-8'); ?>
<?php print($_SERVER['SERVER_SOFTWARE']); ?> <a title="phpinfo()" href="/?q=info">info</a>
</p> </p>
<p> <p>Document Root: <?php echo htmlspecialchars($_SERVER['DOCUMENT_ROOT'], ENT_QUOTES, 'UTF-8'); ?></p>
PHP version: <?php print PHP_VERSION; ?> <span><a title="phpinfo()" href="/?q=info">info</a></span> </div>
</p> <div class="opt">
<p> <p><a title="Getting Started" href="https://laragon.org/docs">Getting Started</a></p>
Document Root: <?php print($_SERVER['DOCUMENT_ROOT']); ?> </div>
</p> </div>
<p> </div>
<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;
?>
</body> </body>
</html> </html>