Search the Community
Showing results for tags 'inertia'.
-
React, a ProcessWire module that provides a shared React 19 + Inertia.js v3 + Tailwind CSS v4 runtime for building modern admin interfaces, interactive data views, and drop-in Inputfields — without each module having to bundle its own frontend stack. How It Works React runs on top of the standalone Inertia module for ProcessWire. Instead of building custom JSON APIs for every admin screen, Process modules can extend ProcessReact and pass PHP data directly to React components via Inertia. It automatically maps ProcessWire's admin color variables (--pw-*), so interfaces blend naturally into your active ProcessWire AdminTheme (including light and dark modes). Every companion sub-module compiles to its own lightweight bundle and loads only on pages where it is actually used. Optional Workspace Hub (ProcessReactWorkspace) Installing React on its own does not add any extra menu items to your admin bar. If you want a unified dashboard for your React-based modules, you can optionally install ProcessReactWorkspace(shipped inside the same module directory). It adds an Admin > Workspace hub with a customizable widget board and quick switcher across all registered React modules. Even when installed, modules still work standalone under their usual Setup > ... URLs. Included Sub-Modules Installing React also installs a set of ready-to-use Inputfield and Markup modules that work in classic ProcessWire page edit forms as well as React/Inertia screens: Rich Text, Media & Form Controls InputfieldTiptap (+ TextformatterTiptapMiniBlocks) — Modern rich text editor with ProcessWire page/file/image dialogs, drag-and-drop uploads, inline image resizing, multi-language tabs, and customizable mini-blocks. InputfieldReactImage & InputfieldReactFile — Drag-and-drop media fields with focal point, zoom, crop/rotate/flip, color palette extraction, tags, and multi-language descriptions/alt text. InputfieldReactIcon — Searchable 6,500+ vector icon selector (outline & filled) with optional size, stroke, color, and badge styling. InputfieldReactLink — Multi-target link & media picker (page, entry, url, email, tel, file, image, video). InputfieldReactKeyValue — Repeatable key-value pair editor for text/textarea fields. InputfieldReactM2O / M2M / O2M / M2A — Relational pickers for many-to-one, many-to-many, one-to-many, and polymorphic relations. Data Views & Layout MarkupReactTable — Sortable, filterable, inline-editable data table viewport. MarkupReactCards — Responsive card grid viewport. MarkupReactTab — Accessible tab container (line, segmented, vertical styles). Built With React: WireConsole If you'd like to see a real module built on top of React, check out WireConsole (topic) — an administrative control plane for migrations, queues, scheduled tasks, backups, logs, and system health, built using ProcessReact and the shared runtime. Requirements & Installation PHP: 8.4+ ProcessWire: 3.0.271+ Required Module: Inertia composer require trk/processwire-react Then install React from Modules > Install (and optionally ProcessReactWorkspace if you want the unified Workspace dashboard). Links React (GitHub): https://github.com/trk/React Inertia (GitHub): https://github.com/trk/Inertia WireConsole (GitHub): https://github.com/trk/WireConsole -> Topic Feel free to share feedback, questions, bug reports, or ideas Github/thread!
-
WireConsole (ProcessWireConsole), an administrative workspace module that brings CLI developer and operations tools directly into the ProcessWire backend under Setup > Console. What is WireConsole? If you use trk/processwire-console (and optionally trk/processwire-boost), WireConsole gives you a clean, visual interface to monitor and run common backend tasks without needing SSH access every time—while showing the exact php vendor/bin/wire ... CLI command next to each action. From a single screen, you can inspect and manage: Overview & System Health: Runtime versions, cache flushing (WireCache, modules, core caches), and one-click Maintenance Mode (503 with optional bypass token). Schema Migrations: View applied and pending migrations in site/migrations/, preview PHP files, scaffold new migrations, run pending steps, or roll back safely. Background Queues: Inspect pending and failed jobs, dispatch handlers, process batches, and retry or clear failed jobs. Database Seeders & Scheduled Tasks: Browse discovered seeders and cron schedules (site/seeders/, site/schedule/), check next run times, and trigger manual runs. Database Backups: Create, preview, download, purge, or restore .sql snapshots (with optional pre-restore safety backups). Testing: Scaffold and run Pest PHP unit/feature tests and Playwright E2E specs directly from the admin. Boost & AI Tools (Optional): Sync project AI guidelines/skills and test read-only MCP tools when trk/processwire-boost is installed. Logs & Audit Trail: Filter ProcessWire log channels and review a dedicated wire-console-audit log for every workspace action. Built on Inertia & React + Workspace Hub Compatible Powered by Inertia & React: WireConsole uses the Inertia and React ProcessWire modules to provide a fast, responsive interface with dark/light mode support and built-in translations (en, tr, de, fr, es, ru). Compatible with ProcessReactWorkspace (Workspace😞 WireConsole works out of the box under Setup > Console, and if you also have the ProcessReactWorkspace hub module installed, it automatically registers a Console app card and a live System Health & Operations widget on your Workspace dashboard. Access Control & Safety Granular Read-Only Permissions: You can grant non-superuser roles read-only visibility into individual tabs (wire-console, wire-console-migrations, wire-console-logs, etc.). Guarded Mutations: All state-changing actions require a Superuser account, CSRF validation, and an explicit confirmation dialog, and automatically switch to read-only mode when ProcessWire’s $config->demo is enabled. Requirements PHP >= 8.4 ProcessWire >= 3.0.271 Modules: Inertia and React (optional: ProcessReactWorkspace) Composer packages: trk/processwire-console (^0.2) trk/processwire-boost (^0.3, optional — for the Boost & AI tab) Installation 1. Install the companion CLI package(s) in your project root: composer require trk/processwire-console composer require --dev trk/processwire-boost # optional 2. Install Inertia and React in ProcessWire. 3. Install WireConsole via Modules > New > Add Module from URL https://github.com/trk/WireConsole/releases/latest/download/WireConsole.zip (or extract to site/modules/WireConsole/, click Modules > Refresh, and install ProcessWireConsole). Links GitHub Repository: https://github.com/trk/WireConsole Latest Release ZIP: https://github.com/trk/WireConsole/releases/latest/download/WireConsole.zip Console CLI Package: https://github.com/trk/processwire-console Boost Package: https://github.com/trk/processwire-boost Feedback, questions, bug reports, and feature suggestions are very welcome in this Github/Thread!
-
Inertia Adapter ProcessWire Module Hello! Long time no see. I created this module so you can use Inertia.js (https://inertiajs.com/) with ProcessWire. Description Inertia allows you to create fully client-side rendered, single-page apps, without much of the complexity that comes with modern SPAs. It does this by leveraging existing server-side frameworks. Inertia isn’t a framework, nor is it a replacement to your existing server-side or client-side frameworks. Rather, it’s designed to work with them. Think of Inertia as glue that connects the two. Inertia comes with three official client-side adapters (React, Vue, and Svelte). This is an adapter for ProcessWire. Inertia replaces PHP views altogether by returning JavaScript components from controller actions. Those components can be built with your frontend framework of choice. Links - https://github.com/joyofpw/inertia - https://github.com/joyofpw/inertia-svelte-mix-pw - https://inertiajs.com/ Screenshots
-
Hi, I had integrated ViteJS a year ago or a bit more, it could be used to build for example a dashboard, or even a website, but the main issue I faced was to make Server Side Rendering working with all the setup to be able to get better SEO/ranking. That's said, SSR code was done this morning ?? The test below was made on a non optimized Caddy setup on Windows with sad php-fpm. I built a javascript package which will be published on NPM to give you a smooth experience to integrate Vite into ProcessWire. I have to build a ProcessWire module to make thing even easier instead of putting some file in our template dir, that will be made asap as it doesn't require lot of work. It's also shipped with InertiaJS which I find no point of not using it, but could be used without it. Everything can work with Svelte Framework (I am a big fan of it, I feel like coding web on the 2k years), React work also, and Vue should work without hassle as any other frameworks/libraries. Just saying, but his one I think will not be much of interest for you, I also built a solution which replace Electron for building desktop application based on native code (Pascal) and JavaScript bindings, where ProcessWire is used as headless cms (I think I had already spoke about it in some threads), it could be used as is without the need to put your hand in native code. I'm curious to hear what others in the ProcessWire community think about using ViteJS for your development. Have you tried it before? What has your experience been like? Please share your thoughts and feedback in the comments, and feel free to vote in the poll below to let me know if you're interested in more tutorials and resources on this topic, like profiles, themes. And pheww, I am quite happy! ?
- 21 replies
-
- 12
-
-