Skip to content

[Tutorial] How to manage "Quick app"

Pen y Fan edited this page May 19, 2024 · 3 revisions

Create a Worpress example

Click Menu > Quick app > Wordpress, specify a "Name" (ex. myblog), Laragon will:

  • Create a corresponding database: myblog
  • Download the latest version of WordPress
  • Extract the code to C:\laragon\www\myblog
  • Generate corresponding pretty URL: http://myblog.test

In a few minutes, you will get what you want effortlessly.

WordPress is famous for its "5-minute quick install," but using Laragon's "Quick app" feature you can do it in less than 2 minutes

Source: Best WAMP Server for Local WordPress – Laragon is Easy by David McCan

Some images

Quick app for a Laravel project from an online compress link (Laravel 7z):

  • (missing) 0_1467989930886_quick-create-website.png

Laragon is downloading & extracting data...

  • (missing) 0_1467986139777_quick-create-laravel-project.png

Laragon can handle 7z, tar.gz, zip or composer. Believe or not, Laragon can create a Laravel project in LESS THAN A MINUTE. Just try it: Menu > Quick app > Laravel 7z

Laragon comes with some pre-defined projects. You can put other projects easily yourself. Just click Menu > Quick app > Configuration and edit the configuration file.

The file is: {LARAGON_ROOT}\usr\sites.conf

# Options
AutoCreateDatabase=true
Cached=true

# Blank: an empty project
Blank=

# WordPress
WordPress=https://wordpress.org/latest.tar.gz

# Joomla
Joomla=https://github.com/joomla/joomla-cms/releases/download/3.8.11/Joomla_3.8.11-Stable-Full_Package.tar.gz

# Prestashop
Prestashop=https://github.com/PrestaShop/PrestaShop/releases/download/1.7.4.2/prestashop_1.7.4.2.zip

------------------------------------------------------

# Drupal
Drupal 8=https://ftp.drupal.org/files/projects/drupal-8.5.5.tar.gz
### Drupal 7=https://ftp.drupal.org/files/projects/drupal-7.59.tar.gz

------------------------------------------------------

## Laravel

Laravel=composer create-project laravel/laravel %s --prefer-dist

Laravel 7z=https://github.com/leokhoa/quick-create-laravel/releases/download/5.6.21/laravel-5.6.21.7z

### Laravel dev-develop=composer create-project laravel/laravel %s dev-develop
### Laravel 4=composer create-project laravel/laravel  %s 4.2 --prefer-dist
Lumen=composer create-project laravel/lumen  %s --prefer-dist

------------------------------------------------------

# CakePHP
CakePHP=composer create-project --prefer-dist cakephp/app %s

# Symfony
Symfony=composer create-project symfony/framework-standard-edition %s

Notes:

#: Comment

----: Menu Separator

AutoCreateDatabase: if true, Laragon will automatically create a database corresponding to the project name.

Cached: if true, compressed files from remote servers will be stored in {LARAGON_ROOT}\tmp\cached, next time Laragon doesn't need to download them.

Drupal

Copied for original discussion Is it possible to add Drupal 9 & 10 as quick add option #408

Laragon is very flexible with customising the quick app menu.

I'm not familiar with Drupal, but I took a quick look at the docs and tried adding the following to the menu (Laragon menu > Quick app > Configuration...):

# Drupal
Drupal=composer create-project drupal/recommended-project %s 

Quick add

According to the drupal download docs, after running the composer command above I need to run

cd drupal && php -d memory_limit=256M web/core/scripts/drupal quick-start demo_umami

🤷

I tried to use quick app without the command

  • I used the project name drupal-test,
  • The database drupal-test was automatically created. (I would prefer drupal_test myself)
  • The project was created in laragon\www\drupal-test

After installation and accepting the prompt to accept changes, allow elevated privileges. The website could be opened using the pretty URL http://drupal-test.test

Drupal 10

For Drupal 9 I suspect a specific version will need to be installed, try:

Drupal-9=composer create-project 'drupal/recommended-project:^9.0' %s