Setup guide

Get the portfolio running, add your own content and choose which design is live.

Requirements

  • PHP 8.1 or newer
  • Apache with mod_rewrite (XAMPP, cPanel hosting and similar)

Quick start

  1. Download the ZIP and unzip it into your web root, for example htdocs/portfolio-template.
  2. Copy shared/.env.example to shared/.env and set SITE_URL.
  3. Open http://localhost/portfolio-template/versions.php to preview all six designs. This page only works from localhost.

The six designs

FolderDesignStyle
1/ClassicTailwind portfolio
2/Dark gradientPhoto stack, typer, polaroids
3/The LogbookEditorial, magazine style
4/DEV//OSNeon terminal
5/Transit MapMetro map, departures board
6/ChainBlockchain explorer, wallet, node map

Add your own content

Everything personal lives in shared/. Your name and initials come from profile.php, so headers, footers, page titles and structured data all update from that one file.

FileWhat it holds
shared/app/data/profile.phpName, initials, photo, bio, links, resume details
shared/app/data/journey.phpTimeline of work, study and travel
shared/app/data/skills.phpSkill groups
shared/app/data/socials.phpSocial links in the footer
shared/app/data/vlogs.phpYouTube videos
shared/app/data/places.phpPins on the travel map
shared/app/data/blogs.phpBlog post list
shared/content/blogs/*.htmlBlog post bodies
shared/assets/imgs/Photos, banner, favicon (the included ones are placeholders)

Choose which design is live

The root .htaccess picks a design for each request. Edit its rules to always serve one design or to rotate them on any schedule. Each design folder also works on its own as a document root.

Contact form

Messages are sent to Telegram. Set TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID in shared/.env. Without them, the form shows an error and logs a warning.

Analytics

Set GA_ID in shared/.env to turn on Google Analytics. It stays off when APP_ENV=local.

Privacy page

Each design includes an example privacy page at N/app/views/pages/privacy.php. Rewrite it to match how you actually run your site.

Something unclear or missing? Tell us.