Documentation
Welcome to LocalForge documentation. Learn how to streamline your local development workflow.
Note: LocalForge is currently available for Linux (Ubuntu/Debian). Support for other platforms is coming soon.
Installation
Download and install LocalForge on your Linux system.
System Requirements
- Ubuntu 20.04 or later / Debian 11 or later
- 4GB RAM minimum (8GB recommended)
- 2GB free disk space
- Sudo privileges required for tool installation
Download & Install
Download the latest .deb or AppImage from the download page.
# For .deb package
sudo dpkg -i localforge_1.0.4_amd64.deb
sudo apt-get install -f
# Or use AppImage
chmod +x LocalForge-1.0.4.AppImage
./LocalForge-1.0.4.AppImage
Getting Started
Launch LocalForge and familiarize yourself with the interface.
First Launch
- Open LocalForge from your applications menu
- The application will check for installed development tools
- Navigate to the "Manage Services" tab to install required tools (PHP, Node.js, Nginx, etc.)
- Once tools are installed, you can start creating projects
Interface Overview
- Create Project: Create new Laravel, Vue, React, Nuxt, or WordPress projects
- Nginx Config: Generate Nginx virtual host configurations
- SSL Certificate: Generate local SSL certificates with mkcert
- Manage Services: Install and manage development tools (PHP, Node.js, databases, etc.)
Creating Projects
LocalForge supports multiple project types with optimized configurations.
Laravel Projects
- Select "Laravel" as project type
- Choose Laravel version (10.x or 11.x)
- Select PHP version (8.1, 8.2, or 8.3)
- Optional: Choose a starter kit (Breeze, Jetstream, or None)
- Enter project name and select directory
- Click "Create Project"
# LocalForge automatically runs:
composer create-project laravel/laravel project-name
cd project-name
php artisan key:generate
Vue.js / Nuxt Projects
Choose Vue version (Vue 2/3) and features (Router, Vuex/Pinia, TypeScript).
React Projects
Select JavaScript or TypeScript template with optional routing support.
WordPress Projects
Download and configure WordPress with database setup assistance.
Nginx Configuration
Generate Nginx virtual host configurations automatically.
Setup Steps
- Go to "Nginx Config" tab
- Enter your domain name (e.g., myproject.local)
- Select project directory
- Choose project type (Laravel, Static, WordPress, Vue/React)
- Select PHP version for PHP projects
- Optional: Enable SSL
- Click "Generate Configuration"
Important: Don't forget to add your domain to /etc/hosts
# Add to /etc/hosts
sudo nano /etc/hosts
# Add this line:
127.0.0.1 myproject.local
SSL Certificates
Generate trusted local SSL certificates using mkcert.
Prerequisites
First, install mkcert through the "Manage Services" tab or manually:
# Install mkcert
sudo apt install libnss3-tools
wget https://github.com/FiloSottile/mkcert/releases/latest/download/mkcert-v*-linux-amd64
chmod +x mkcert-v*-linux-amd64
sudo mv mkcert-v*-linux-amd64 /usr/local/bin/mkcert
mkcert -install
Generate Certificate
- Go to "SSL Certificate" tab
- Enter your domain name
- Click "Generate Certificate"
- Certificates will be saved to /etc/nginx/ssl/
Managing Development Tools
Install and manage PHP, Node.js, Nginx, Composer, and databases.
Supported Tools
- PHP: Multiple versions (8.0, 8.1, 8.2, 8.3, 8.4)
- Node.js: Managed via NVM with version switching
- Nginx: Web server installation and configuration
- Composer: PHP dependency manager
- PostgreSQL: PostgreSQL database server
- MySQL: MySQL database server
PHP Management
Install multiple PHP versions and manage extensions.
Installing PHP
- Go to "Manage Services" β PHP section
- Enter desired PHP version (e.g., 8.3)
- Click "Install New Version"
- Watch the installation progress in the log modal
Managing Extensions
- Click "Extensions" button on any installed PHP version
- View installed extensions in the green section
- Select extensions to install from the not-installed section
- Use "Check All" to select all available extensions
- Click "Install Selected" to install
Editing PHP Configuration
- Click "php.ini" button to edit CLI configuration
- Click "FPM" button to edit PHP-FPM configuration
- Make your changes in the modal editor
- Click "Save" (requires sudo password)
Troubleshooting
Common Issues
Port 80/443 already in use
Check if another service is using these ports:
sudo lsof -i :80
sudo lsof -i :443
PHP version not found
Make sure you've added the ondrej/php PPA and updated your system.
Nginx configuration test failed
Test your Nginx configuration manually:
sudo nginx -t
sudo systemctl restart nginx
Frequently Asked Questions
Is LocalForge free?
Yes, LocalForge is completely free and open source.
Can I use LocalForge on Windows or macOS?
Currently, LocalForge is only available for Linux. Windows and macOS support is planned for future releases.
Does LocalForge require Docker?
No, LocalForge installs tools directly on your system without containers.
Can I manage existing projects?
Yes, you can use LocalForge to configure Nginx and SSL for existing projects.
How do I update LocalForge?
Download the latest version from the download page and install it. Your settings and configurations will be preserved.
Need Help?
If you can't find what you're looking for, reach out to our community.