Jump to content

Search the Community

Showing results for tags 'cli'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. 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!
  2. wireshell 1.0.0 is out See Bea's post -------- Original post ----------- Now this one could be a rather long post about only an experimental niche tool, but maybe a helpful one for some, so stay with me Intention Do you guys know "Artisan" (Laravel) or "Drush" (Drupal)? If not: These are command line companions for said systems, and very useful for running certain (e.g. maintenance, installation) task quickly - without having to use the Admin Interface, first and foremost when dealing with local ProcessWire installations. And since it has a powerful API and an easy way of being bootstrapped into CLIs like this, I think such a tool has a certain potential in the PW universe. It's totally not the first approach of this kind. But: this one should be easily extendable - and is based on PHP (specifically: the Console component of the Symfony Framework). Every command is tidily wrapped in its own class, dependencies are clearly visible, and so on. ( Here was the outdated documentation. Please visit wireshell.pw for the current one )
  3. Tense Tense (Test ENvironment Setup & Execution) is a command-line tool to easily run tests agains multiple versions of ProcessWire CMF. Are you building a module, or a template and you need to make sure it works in all supported ProcessWire versions? Then Tense is exactly what you need. Write the tests in any testing framework, tell Tense which ProcessWire versions you are interested in and it will do the rest for you. See example or see usage in a real project. How to use? 1. Install it: composer global require uiii/tense 2. Create tense.yml config: tense init 3. Run it: tense run For detailed instructions see Github page: https://github.com/uiii/tense This is made possible thanks to the great wireshell tool by @justb3a, @marcus and others. What do you think about it? Do you find it useful? Do you have some idea? Did you find some bug? Tell me you opinion. Write it here or in the issue tracker.
  4. CodeRunner 2 is on sale at MacUpdate: https://www.macupdate.com/app/mac/38362/coderunner Mostly I use it for writing shell scripts, mocking up algorithms in PHP, JavaScript/jQuery. But is also supports other programming languages as well. https://coderunnerapp.com/ "An advanced, highly flexible, and easy-to-use programming editor for your Mac. CodeRunner supports a large number of languages, and delivers big IDE features while remaining lightweight and clutter-free."
  5. After reading Include & Bootstrap on the ProcessWire website I coded a simple shell script for outputting page informations. Here is the GitHub repository with further informations and usage instructions. Long story short, you can do things like pw get "/" which outputs this: or pw find "template=basic-page,parent=/about/,sort=-id,limit=4" id template rootParent which outputs this: I don’t know if it is in any way useful, but I think it’s a fun way to output PW content and to quickly get to page informations in a rather nerdy fashion.
×
×
  • Create New...