Lantern

Your résumé, portfolio and blog on your own hosting. This guide covers installing, using, updating and backing up Lantern.

Lantern needs no command line, Composer, Node.js or scheduled tasks. If your host can run a PHP website, it can run Lantern.

Server requirements

PHP8.3 or newer
PHP extensionsctype, dom, fileinfo, filter, mbstring, openssl, pdo, session, tokenizer, xml. Most hosts have them all.
Recommended: gd (shrinks large photos and makes smaller copies for phones), intl and zip (LinkedIn import and backups).
DatabaseSQLite (built into PHP, nothing to set up), or MySQL 8 / MariaDB 10.3 or newer
Web serverApache (with mod_rewrite), LiteSpeed or nginx

You don't need to check these yourself: the installer checks your server and says exactly what's missing.

Installing

Every install follows the same three steps: upload the files, visit the site, and answer the installer's questions. The installer:

  1. checks your server;
  2. asks which database to use. Simple (SQLite) is right for almost everyone. Choose MySQL only if you prefer it or your host requires it;
  3. asks for your site's name and your admin account (your email and a password of at least 10 characters).

Then you land in your admin area at /admin.

Shared hosting (cPanel, Plesk, DirectAdmin and others)

  1. Unzip the download on your computer. Inside is a folder named lantern-x.y.z.
  2. Upload the contents of that folder to your site's folder, using your control panel's File Manager or an FTP app. In cPanel that's usually public_html; in Plesk, httpdocs. Tip: File Managers can usually upload the ZIP and unzip it on the server, which is much faster.
  3. If your control panel lets you choose the site's document root, point it at the public folder. If it doesn't, leave it: Lantern's own .htaccess sends visitors into public and keeps everything else private.
  4. Visit your domain. The installer opens.
  5. For MySQL, first create a database and a user in your control panel (cPanel: MySQL Databases; Plesk: Databases), give the user all privileges on the database, then enter those details in the installer. Use localhost as the host unless your host says otherwise.
Passwords with unusual characters (quotes, #, $, spaces) are fine: the installer saves them safely.

A VPS (nginx)

Upload or unzip the files to, for example, /var/www/lantern, and make storage/, bootstrap/cache/ and database/ writable by the web server's user (often www-data):

sudo chown -R www-data:www-data /var/www/lantern/storage /var/www/lantern/bootstrap/cache /var/www/lantern/database

A server block (adjust the domain and the PHP version in the socket path):

server {
    listen 80;
    server_name example.com;
    root /var/www/lantern/public;
    index index.php;
    client_max_body_size 64M;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
    }

    location ~ /\.(?!well-known) { deny all; }
}

Add HTTPS (for example with Certbot), visit the site and follow the installer.

Your own computer

With PHP 8.3+ installed, open a terminal in the Lantern folder and run php -S 127.0.0.1:8000 -t public, then visit http://127.0.0.1:8000. Laravel Herd, MAMP, XAMPP and Valet work too: point them at the public folder.

In a sub-folder

Lantern works at an address like example.com/cv. Upload it into that folder (for example public_html/cv) and visit example.com/cv. Links, images and the admin all follow the folder.

First steps

Your dashboard has a checklist that ticks itself off as you go:

  1. Fill in your profile (Résumé → Profile): name, headline, photo, a short “About”, and how people can reach you. You choose whether your email and phone show publicly. Until you add a photo, your site shows a plain placeholder in your accent colour.
  2. Add your experience, or import it: Import and export can fill your résumé from LinkedIn or a JSON Resume file in a minute. Or start from one of the nine examples and swap in your own details.
  3. Set up email (Settings → Email), so password resets and contact messages reach you. See Email.
  4. Turn on two-factor sign-in (Your account) for extra safety.
  5. Choose a home page style and your colours and fonts.

Once the checklist is done it folds away to one line, and the dashboard becomes your site at a glance: your latest messages, how many posts, projects, subscribers and résumé entries you have, any drafts and scheduled posts, and shortcuts to write a post, add a project, download a backup or preview your PDF. It only uses what's already in your site; nothing about your visitors is tracked.

On the Home page screen, the ⓘ next to each section tells you where its content is edited.

Your content

Lists can be reordered by dragging the handle on the left. In long text boxes, a blank line starts a new paragraph, lines starting with - become a bulleted list, and web addresses become links. Blog posts use Markdown.

Résumé and PDF

Résumé has your profile and six sections: Experience, Education, Skills (grouped, with an optional 1–5 level), Certifications, Languages and Awards. Ticking “I’m still here” (or “Still studying”) shows “Present” instead of an end date.

The PDF résumé is built from the same details, so it always matches your site. Choose its design (Classic or Modern), whether it includes your profile photo (off by default, as many employers prefer résumés without one) and whether visitors can download it in Résumé → PDF. It's rebuilt automatically after any change.

Projects

Case studies with a cover image, a gallery of up to 12 images, the client, your role, the year, tags and the full story. Each published project gets its own page, with a link to the next one. Untick Published to keep a project as a draft that only you can see.

Services and testimonials

Services are cards with a price, an optional note such as “from” or “per month”, and a list of what's included. Mark one as highlighted to show it as “Most popular”. Leave the price empty to show “Ask me for a quote”.

Testimonials are quotes with the person's name, role and an optional photo.

Blog

Posts have a title, an optional short summary, a cover image, a category and the post itself, written in Markdown:

TypeTo get
## Headinga heading
**bold** and *italic*bold and italic
- item or 1. itema list
[text](https://example.com)a link
> quotea quotation

Use Add an image to upload a picture into the post, or Choose from your images to reuse one. HTML typed into a post is shown as text, so a post can never run scripts.

Publishing: a post is live when it's ticked as published and its publish date has arrived. Pick a future date to schedule it: it goes live on that day by itself. Once a post is live, its address stays the same even if you rename it, so links to it keep working.

The blog is at /blog, with a page per category and an RSS feed at /feed.xml.

Media

Every uploaded image, and where it's used. Add images here to reuse them in posts and projects. “Copy for a post” copies the line that places the image in a post. An image used in several places is only removed when the last of them stops using it. Delete unused images frees up space.

Your site

Home page

StyleBest forOpens with
ProfessionalJob seekers, consultants, managersYour photo, headline and résumé
CreativeDesigners, photographers, writersA big headline and your projects as large images
FreelancerIndependent specialistsA “Hire me” introduction and your services and prices

Drag the sections into the order you like, and untick any you don't want. Each style remembers its own arrangement. Sections with nothing in them are hidden automatically.

Appearance

Search and sharing

Set the home page's title and description for search results, and a sharing image (1200 × 630 pixels works best) for link previews on social media and in chat apps. Lantern already adds descriptions, previews, a sitemap (/sitemap.xml) and structured data for search engines.

Code for every page is where analytics code goes (Plausible, Fathom, Google Analytics and so on). It's added to every public page, but not the admin.

Tick Ask search engines not to list this site while you're setting up.

Messages and newsletter

Messages from your contact form are kept in the admin and, once email is set up, sent to you as well. Reply to the email to answer the sender.

Newsletter: switch the sign-up form on in Newsletter. It appears on the home page, the blog and under each post. By default, new subscribers confirm by email, which keeps typos and fake sign-ups off your list. Lantern collects sign-ups; you send newsletters from an email service such as Mailchimp, Buttondown or Brevo by importing the Export subscribers (CSV) file. Every confirmation email includes an unsubscribe link.

Import and export

From LinkedIn

  1. On LinkedIn, open Settings → Data privacy → Get a copy of your data.
  2. Choose the first option, or tick Profile, Positions, Education, Skills and Recommendations, then request the archive. LinkedIn emails you when it's ready.
  3. In Lantern, open Import and export and choose the ZIP file. If your server can't open ZIP files, unzip it first and choose the CSV files inside.
  4. Check the preview, untick anything you don't want, and choose Add to what I have or Replace the ticked résumé sections.

Private parts of the archive, such as messages, connections, your address and date of birth, are never read. Visible recommendations become testimonials.

JSON Resume

JSON Resume is an open format many résumé tools can read and write. Import a .json file the same way, or use Download JSON Resume to take your résumé elsewhere.

Start from an example

Loads one of the nine made-up example people from the demo: a product manager, software engineer, recent graduate, brand designer, photographer, writer, freelance web developer, career coach or personal trainer, across all three home page styles. It replaces your content and look, but keeps your account and email settings.

Backups

Import and export → Download a backup gives you one ZIP with your database and every uploaded image. Make one before updating, and after big changes. Your hosting company's own backups are a good second layer.

Restoring a backup

  1. Install the same or a newer version of Lantern (or use the existing one).
  2. SQLite: replace the database file (its name is DB_DATABASE in .env, usually database/lantern.sqlite) with lantern.sqlite from the backup.
    MySQL: in phpMyAdmin, select the database, choose Import and pick lantern.sql.
  3. Copy the backup's media folder into storage/app/.
  4. Keep your old .env file, or at least its APP_KEY line. Saved email passwords and spam keys can only be read with the same key; otherwise, enter them again in Settings.
The backup leaves out .env on purpose, because it holds your passwords. Keep your own copy of it somewhere safe.

Email

Until email is set up, Lantern writes emails to storage/logs/mail.log instead of sending them. In Settings → Email, choose SMTP and enter the details your host or email service gives you, then use Send a test email. Common settings:

PortEncryptionUsed by
587Automatic (STARTTLS)Most services
465SSL/TLSMany cPanel hosts

Use a “from” address on your own domain: emails from free addresses (Gmail, Outlook) sent through other servers are often marked as spam.

Spam protection

The contact and newsletter forms already have two quiet checks: a hidden field only bots fill in, and a check on how quickly the form was sent. If spam still gets through, add Cloudflare Turnstile, a free and privacy-friendly CAPTCHA: create a widget at Cloudflare and paste its site key and secret key into Settings → Spam protection.

Updating

  1. Download the new version from your account in the shop where you bought Lantern (Downloads). Updates are included for the period in the shop’s terms, and can be renewed.
  2. Download a backup.
  3. Upload the new files over the old ones. Keep your .env file, the storage folder and your SQLite database in database/. Uploading the new version's files won't overwrite them, because the download doesn't include them.
  4. Visit your site. On the first visit, Lantern brings its database up to date by itself.

The version you're running is in config/lantern.php. What changed in each version is in CHANGELOG.md.

Translating

Every word Lantern shows comes from the files in lang/en/. To translate the site, copy that folder to, for example, lang/fr/, translate the text on the right of each => (keep the :name-style placeholders), then set APP_LOCALE=fr in .env. Dates follow the language automatically. Keep a copy of your translation, because updates replace lang/en/ but leave other languages alone.

Customizing (developers)

Troubleshooting

A blank page or “500 Server Error”

Check storage/logs/laravel.log for the reason. Most often storage/ or bootstrap/cache/ isn't writable, or PHP is older than 8.3: most control panels let you choose the PHP version.

I see a list of files, or “Forbidden”

Your server isn't using .htaccess. Point the domain at the public folder, or ask your host to turn on mod_rewrite and AllowOverride All.

“Could not connect to the database”

Double-check the database name, user and password in your control panel. The user must be added to the database with all privileges. The installer tries localhost and 127.0.0.1 automatically.

Uploads fail

Your host's upload limit may be small (often 2 MB). Raise upload_max_filesize and post_max_size in your control panel's PHP settings. Lantern shrinks large photos after upload when GD is available.

I forgot my password

Use Forgot your password? on the sign-in page. This needs email to be set up. If it isn't, the reset link is in storage/logs/mail.log.

Emails don't arrive

Use Send a test email in Settings → Email, which shows the server's exact reply. Check your spam folder, and that the “from” address is on your own domain.

“Lantern couldn't finish updating”

The database update after uploading a new version stopped. Nothing was deleted. Reload the page to try again; if the message stays, send it to support (it's also in storage/logs/laravel.log).

Accessibility

Lantern is built to meet WCAG 2.2 level AA, on your public site and in the admin:

What you can do:

The PDF résumé is made for printing and sending. PDF files made on a shared host can't carry the extra structure screen readers use, so point people who need it to your site, which has the same content.

Security checklist

Lantern sends security headers on every page, keeps the admin locked to its own files, limits how often forms and sign-in can be tried, hides whether an email address has an account, and never lets an uploaded file run code. You can help:

Demo mode

Lantern's public demo runs with DEMO_MODE=true. Never turn this on for a real site. It shows a one-click demo sign-in, blocks uploads and account changes, and wipes all content every night.

Credits and licences

Lantern is built on open-source software, used under its licences: Laravel, Livewire, Alpine.js, Laravel Fortify, Tailwind CSS, Carbon and Guzzle (MIT); league/commonmark and phpdotenv (BSD-3-Clause); dompdf, php-font-lib and php-svg-lib (LGPL, used unmodified) with the DejaVu fonts (Bitstream Vera licence). Every package's licence is in its folder inside vendor/.

The example people, businesses and illustrations were made for Lantern and are yours to use with it.

Support

Questions and problems: use the contact page of the shop where you bought Lantern, and include your Lantern version, your PHP version and any message from storage/logs/laravel.log.