Production upload

Deployment

Use these steps when moving YunikEngine from local development to production hosting.

Web Server

Apache

Point the virtual host document root to public/. Make sure mod_rewrite is enabled and Laravel rewrite rules are allowed.

Nginx

server {
    server_name example.com;
    root /path/to/YunikWebsiteMaker/public;
    index index.php;

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

    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_pass unix:/run/php/php8.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    }
}

After Upload

open https://your-domain.com/install
complete database, administrator, and demo content setup

The buyer package includes Composer dependencies and compiled assets for the browser installer. Use Composer, npm, and Laravel cache commands only when manually deploying, refreshing dependencies, or rebuilding assets.

Envato Package

Include

  • Application source files.
  • vendor/ for one-click browser installation.
  • composer.json and composer.lock.
  • package.json and package-lock.json.
  • .env.example.
  • .envanto_docs.
  • Third-party license files for bundled assets.

Exclude

  • .env and private credentials.
  • node_modules/.
  • Runtime logs, sessions, cached views, and temporary files.
  • Local SQLite databases and private uploaded media.

Pre-Submission Checklist

  • Run PHP tests.
  • Run frontend build.
  • Confirm no real credentials are packaged.
  • Confirm installer creates the first admin account.
  • Confirm Visual Builder opens and saves pages, layouts, templates, email templates, and forms.
  • Confirm public pages, blog posts, forms, and shortcodes render without admin authentication.
  • Confirm this documentation opens directly in a browser.