Download the PHP package chandra2004/laravel-pack-ui without Composer

On this page you can find all versions of the php package chandra2004/laravel-pack-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-pack-ui

Laravel Pack UI

Latest Version on Packagist PHP Version Laravel Framework Inertia.js Tailwind CSS

Laravel Pack UI adalah paket komponen antarmuka (UI Component Kit) dan composables enterprise-grade yang dirancang khusus untuk ekosistem Laravel + Inertia.js + Vue 3, ditenagai oleh Tailwind CSS v4 dan Google Material Symbols.

Paket ini mengadopsi filosofi headless-copy (seperti halnya Shadcn UI dan Laravel Breeze): seluruh kode komponen dipublikasikan langsung ke dalam direktori resources/js/ project Anda. Pendekatan ini memberikan kebebasan penuh bagi developer untuk menyesuaikan desain, memperluas fitur, dan menikmati performa tanpa beban runtime wrapper tambahan.


🌟 Mengapa Memilih Laravel Pack UI?


📦 Komponen & Composables yang Disediakan

Komponen Deskripsi Singkat
InputField.vue Universal form control facade mendukung teks, sandi, angka, tanggal, upload file, select, switch, checkbox, radio, color, range slider, dan textarea.
TableComponent.vue Tabel data enterprise dengan 5 pilar kustomisasi (warna semantik, bentuk radius/size, teks/header judul & bilah aksi massal, ikon, responsif sticky first column & scroll indicator), multi-column skeleton loader, dan ekspor CSV.
Pagination.vue Paginator enterprise responsif dengan 5 pilar UI (warna semantik, bentuk radius/size, teks/scoped slots, ikon Google Material Symbols, & responsif mobile), 5 varian desain anti-monoton (joined, pills, flat, card, default), tombol First/Last page, per-page selector, dan jump-to-page. Dokumentasi Lengkap →
Modal.vue Dialog popup & confirmation overlay dengan transisi Tailwind halus, varian status (info, danger, success, warning), dan focus-trap.
Alert.vue Banner notifikasi inline (solid, soft, outline) dengan strip aksen warna ramping dan progress bar auto-close.
ToastNotification.vue Sistem floating notification global dengan kustomisasi 4 pilar (warna semantik/varian, bentuk radius/size, scoped slots, & icon) dilengkapi real-time countdown.
ButtonSubmit.vue Tombol aksi polimorfik dengan dukungan Google Icons, indikator loading spinner, dan ragam varian warna kontras tinggi.
ButtonTheme.vue Pengubah tema dark/light mode dengan 4 pilihan tampilan (icon-only, button, switch pill, dan segmented 3-way).
Avatar.vue Foto profil user / inisial nama otomatis dengan status indicator (online, away, busy, offline) dan group stack.
Badge.vue Label status serbaguna (soft, solid, outline, dot) dengan pulsing live ping, ikon, skema warna semantik, dan aksi remove.
Breadcrumb.vue Navigasi hirarki responsif dengan auto-collapse path panjang, ikon home, dan separator kustom.
Card.vue Container serbaguna dengan dukungan collapsible body, loading overlay, header icon, dan actions slot.
ConfirmDialog.vue Dialog konfirmasi destruktif/penting global (Promise async) yang terhubung langsung ke useConfirm.js.
Dropdown.vue Menu aksi popover enterprise dengan 5 pilar UI, 5 varian desain anti-monoton (rich 2-baris card, glassmorphic, pills, bordered, default), navigasi keyboard WAI-ARIA lengkap, auto click-outside, dan slot header/footer. Dokumentasi Lengkap →
Sidebar.vue Bilah navigasi samping enterprise dengan arsitektur Dual-API (Compound Components deklaratif & Config-Driven array :items), collapsible desktop, mobile drawer, dan integrasi useSidebar.js. Dokumentasi Lengkap →
Skeleton.vue Placeholder loading loader dinamis & hemat memori dengan 5 pilar kustomisasi, 7 preset halaman siap pakai (stats, table, card, profile, form, article, feed), varian atomik (text, circular, icon, rounded), animasi pure CSS shimmer wave/pulse, dan conditional wrapper (:loading). Dokumentasi Lengkap →
Stepper.vue Stepper alur kerja & progress wizard multi-tahap dengan 5 pilar kustomisasi, 6 varian tipe (multi-stepper cards, segmented bar, circle, pills, vertical timeline, dots), penempatan informasi terarah (kanan, kiri, atas, bawah), skeleton loading adaptif, dan bilah navigasi aksi. Dokumentasi Lengkap →
Tabs.vue Navigasi panel konten enterprise dengan 5 pilar kustomisasi (warna soft/solid/outline, bentuk radius/size, teks/deskripsi 2 baris, ikon posisi left/top, responsif scroll panah halus), 4 layout (underline, pills, segmented, enclosed), dan WAI-ARIA.
FileDropzone.vue Area drag-and-drop file upload mandiri (hero banner, galeri foto grid, dokumen list, avatar) lengkap dengan validasi MIME/ukuran, thumbnail lightbox, dan pencegahan memory leak blob.
FilterToolbar.vue Bilah filter data tabel dinamis dengan pencarian debounced, tombol preset tanggal cepat, dropdown status, reset filter aktif ber-counter badge, dan integrasi otomatis useServerTable.js.
ProductGallery.vue Galeri produk & media modular dengan penampil foto hero, thumbnail berlabel caption, floating badges, dan modal lightbox zoom layar penuh.
RichTextEditor.vue Editor teks kaya (WYSIWYG) modular berbasis Tiptap headless dengan toolbar kustom Tailwind, format heading/inline/alignment, modal tautan & gambar, dan pratinjau HTML.
Rating.vue Komponen rating interaktif/tampilan dengan presisi fraksional (skor desimal bebas seperti 1.3/5), kustomisasi ikon & warna, rentang skor dinamis, dan aksesibilitas keyboard.
CtaButton.vue Tombol CTA (Call-to-Action) konversi tinggi dengan 5 pilar UI, 8 tema warna, sekali tekan langsung (direct), split button (split), menu aksi anak (menu), speed-dial FAB melayang (fab), hold-to-confirm (hold), salin clipboard (copy), widget melayang WhatsApp resmi (whatsapp), dan scroll to top (to-top). Dokumentasi Lengkap →
LocationPicker.vue Komponen pemilih tag lokasi interaktif berbasis Leaflet & OpenStreetMap: pin marker draggable, auto reverse-geocoding, deteksi GPS instan, pencarian tempat, dan output lat/lng.
InputTag.vue / TagInput.vue Komponen input tag enterprise dengan 4 pilar kustomisasi (warna soft/solid/outline, bentuk radius/size, teks/scoped slots #tag & #option, ikon & perataan vertikal presisi), 3 mode (random, preset, hybrid), auto-paste split, dan dropdown anti-clipping di Card.
ScrollProgress.vue Indikator progres scroll cerdas berkinerja tinggi (60fps passive listener) dengan 5 pilar UI, 4 mode tampilan anti-monoton (bar, floating-pill, circular, minimal), 9 tema warna solid, perpaduan terpusat Icon + Teks, target kontainer lokal, estimasi waktu baca, dan tombol terintegrasi Scroll to Top. Dokumentasi Lengkap →
DragDrop.vue Komponen drag and drop universal zero-dependency: sortable list satu dimensi, responsive grid cards reordering, enterprise Kanban board antar kolom, dan touch device support. Dokumentasi Lengkap →
CartDrawer.vue Slide-over drawer keranjang belanja enterprise dengan reaktivitas global, persistensi ganda, bar progres gratis ongkir dinamis, stepper kuantitas real-time, voucher diskon bertingkat, dan catatan pembeli per item. Dokumentasi Lengkap →
AutoSaveStatus.vue Indikator visual status auto-save formulir real-time (saving, saved, error, idle) dan banner pemulihan draf belum tersimpan (draft recovery alert). Dokumentasi Lengkap →

🧩 Composables (State Helpers)


🚀 Instalasi di Project Laravel

Karena paket ini telah terdaftar resmi di Packagist.org, Anda dapat langsung memasangnya menggunakan composer require tanpa perlu menambahkan konfigurasi repositori manual.

Langkah 1: Pasang Paket via Composer

Jalankan perintah berikut di terminal project Laravel Anda:


Langkah 2: Jalankan Smart Auto-Installer

Setelah paket berhasil diunduh oleh Composer, jalankan perintah instalasi cerdas:

💡 Apa Saja yang Dilakukan Smart Auto-Installer?

Perintah ini akan memeriksa lingkungan project Anda secara otomatis:

  1. Pemeriksaan & Instalasi Otomatis Backend (Composer):
    • Jika project belum memiliki inertiajs/inertia-laravel, installer mengeksekusi composer require inertiajs/inertia-laravel.
    • Jika project belum memiliki tightenco/ziggy, installer mengeksekusi composer require tightenco/ziggy.
  2. Pemeriksaan & Instalasi Frontend (Node.js/npm):
    • Memastikan vue (^3.5) dan @vitejs/plugin-vue (^6.0) terpasang.
    • Memastikan @inertiajs/vue3 (^2.0) terpasang.
    • Memastikan ziggy-js (^2.4) terpasang untuk navigasi rute Laravel di Vue.
    • Memastikan tailwindcss (^4.0) dan @tailwindcss/vite terpasang.
    • Memastikan material-symbols (^0.47) terpasang.
  3. Konfigurasi Otomatis Template & Entrypoint:
    • resources/views/app.blade.php: Menyisipkan directive @routes, @inertiaHead, dan @inertia secara otomatis.
    • resources/js/app.js: Mengonfigurasi createInertiaApp dan mendaftarkan plugin ZiggyVue (createApp().use(ZiggyVue)).
    • resources/css/app.css: Menyisipkan directive @import 'tailwindcss'; dan @import 'material-symbols';.
    • vite.config.js: Mengonfigurasi plugin vue(), tailwindcss(), dan path alias 'ziggy-js' serta '@'.
  4. Konfigurasi Flash Session Inertia (HandleInertiaRequests.php):
    • Otomatis membuat atau memperbarui method share() pada app/Http/Middleware/HandleInertiaRequests.php untuk membagikan session flash (success, error, warning, info, message, alert).
    • Mendaftarkan middleware ke bootstrap/app.php (Laravel 11/12) sehingga setiap redirect controller dengan ->with('success', '...') otomatis memicu toast notification di frontend melalui useNotification.js.
  5. Penerbitan Komponen, Composables & Layouts:
    • Menyalin seluruh file komponen ke resources/js/Components/Pack/.
    • Menyalin seluruh file composable ke resources/js/Composables/Pack/.
    • Menyalin seluruh file tata letak dasbor ke resources/js/Layouts/.

Opsi Perintah Tambahan:


🔄 Panduan Pembaruan Versi (Upgrade & Update Guide)

Ketika paket chandra2004/laravel-pack-ui merilis pembaruan versi (baik berupa Patch, Minor, maupun Major), ikuti 3 langkah berikut agar aplikasi Anda mendapatkan fitur, perbaikan bug, dan komponen terbaru:

Langkah 1: Update Versi Package via Composer

Jalankan perintah berikut di terminal project Anda:

📌 Ketentuan Batasan Versi (Version Constraints):


Langkah 2: Terbitkan Ulang Komponen Terbaru ke Project Anda

[!IMPORTANT] Karena komponen Vue dan Composables disalin langsung (published) ke dalam direktori aplikasi Anda (resources/js/Components/Pack/ dan resources/js/Composables/Pack/), menjalankan composer update saja hanya memperbarui berkas di folder vendor/, bukan berkas komponen yang digunakan di project Anda.

Jalankan perintah installer dengan opsi --force untuk menyinkronkan berkas komponen terbaru ke project Anda:

Atau jika Anda hanya ingin memperbarui file komponen UI saja tanpa menyentuh file konfigurasi blade/app:

[!WARNING] Penting Sebelum Menjalankan --force:
Jika Anda pernah memodifikasi kode secara manual di dalam berkas resources/js/Components/Pack/..., opsi --force akan menimpa (overwrite) perubahan kustom tersebut. Pastikan Anda telah melakukan git commit atau backup kode terlebih dahulu.


Langkah 3: Kompilasi Ulang Asset Frontend

Setelah berkas komponen terbaru diperbarui di project Anda, jalankan build Vite:


📖 Contoh Penggunaan Sederhana

Semua komponen dapat langsung di-import menggunakan path alias standar @/Components/Pack/...:

1. Form Lengkap dengan Validasi (InputField.vue & ButtonSubmit.vue)


2. Notifikasi Toast & Dialog Konfirmasi (useNotification & Modal.vue)


3. Pengubah Tema Dark / Light (ButtonTheme.vue)


📚 Dokumentasi Lengkap (Documentation Index)

Dokumentasi teknis menyeluruh yang mengupas tuntas seluruh daftar properti (props), events, slots, method expose, aturan validasi, serta contoh implementasi praktis telah dikelompokkan secara terstruktur dan modular di dalam direktori doc/:

🛠️ Prasyarat & Instalasi

🏛️ Tata Letak (Layouts)

🧩 Komponen UI (Components)

⚙️ Composables


📄 Lisensi

Paket ini dirilis di bawah lisensi terbuka Chandra Tri Antomo. Bebas digunakan untuk project pribadi maupun komersial.


All versions of laravel-pack-ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chandra2004/laravel-pack-ui contains the following files

Loading the files please wait ...