npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

panzek-deploy-cli

v1.0.0

Published

Interactive Laravel deployment CLI with database and Nginx setup workflows

Readme

Panzek Deploy CLI

CLI interaktif untuk deploy dan maintenance project Laravel di server. Fokusnya bukan hanya menjalankan command, tetapi membuat alur deploy, update, setup database, setup Nginx, dan Cloudflare Tunnel terasa rapi saat dipakai langsung di terminal.

Preview

Preview terminal Panzek Deploy CLI

Fitur Utama

  • Wizard interaktif berbasis @clack/prompts
  • Tampilan terminal yang sudah dipoles dengan panel, summary card, katalog project, dan execution plan
  • Deploy Laravel dari repository Git
  • Update project yang sudah ada dengan memilih dari daftar project terdeteksi
  • Setup database MySQL/MariaDB beserta user otomatis
  • Dukungan login admin database via sudo socket, login biasa, dan login dengan --ssl=off
  • Setup Nginx lengkap dengan validasi config dan rollback bila gagal
  • Setup Cloudflare Tunnel dengan cloudflared named tunnel tanpa IPv4 publik
  • Retry per langkah saat gagal tanpa mengulang wizard dari awal
  • Error card dengan potongan output, kemungkinan penyebab, dan saran tindak lanjut
  • Mode dry-run untuk pratinjau alur sebelum eksekusi

Instalasi

Install global dari npm:

npm install -g panzek-deploy-cli

Install global dari source lokal:

npm install -g .

Atau jalankan langsung dari folder project:

npm install
npm start

Panduan Global

Jika sudah terinstall secara global, command yang dipakai adalah:

panzek-deploy

Untuk update versi global:

npm install -g panzek-deploy-cli@latest

Untuk hapus instalasi global:

npm uninstall -g panzek-deploy-cli

Jika command panzek-deploy belum terbaca, cek lokasi binary global npm:

npm bin -g

Pastikan hasil path tersebut sudah masuk ke PATH shell Anda.

Menjalankan

Jika terpasang global:

panzek-deploy

Jika dijalankan dari folder source:

node index.js

Menu Utama

1. Deploy Laravel

Flow ini dipakai untuk project baru atau deployment ulang dari repository Git.

Yang dikerjakan:

  • pilih mode Jalankan langsung atau Pratinjau
  • clone atau update repository
  • siapkan .env
  • jalankan langkah build bawaan atau custom
  • buat database dan user MySQL/MariaDB
  • update kredensial database ke .env
  • jalankan key:generate, migrate, optimize:clear, dan optimize
  • rapikan permission Laravel

2. Setup Nginx

Flow ini membuat virtual host untuk project Laravel.

Yang dikerjakan:

  • validasi domain, path project, dan versi PHP-FPM
  • generate config Nginx
  • salin ke sites-available
  • aktifkan lewat sites-enabled
  • jalankan nginx -t
  • reload service Nginx
  • rollback config bila validasi atau reload gagal

3. Setup Cloudflare

Flow ini fokus ke cloudflared named tunnel agar service bisa dipublish tanpa IPv4 publik.

Yang dikerjakan:

  • login cloudflared tunnel login
  • create named tunnel
  • generate config ingress
  • validate ingress
  • create DNS route ke hostname publik
  • optional install dan start service cloudflared

4. Update Project

Flow ini dipakai untuk project yang sudah ada di server.

Yang dikerjakan:

  • scan project Git dari lokasi umum seperti /var/www dan folder kerja saat ini
  • tampilkan katalog project yang terdeteksi
  • pilih project dari daftar
  • jalankan git fetch, git checkout, dan git pull
  • jalankan composer install, npm install, dan npm run build bila relevan
  • untuk Laravel, lanjut migrate, optimize:clear, optimize, dan perbaikan permission

Kebutuhan Umum

  • Node.js 18+
  • git
  • composer
  • npm
  • php
  • mysql atau mariadb client

Repository

https://github.com/darksoul729/panzek-deploy-cli

Lisensi

MIT