Download the PHP package mohamedzaki/laravel-process-builder without Composer

On this page you can find all versions of the php package mohamedzaki/laravel-process-builder. 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-process-builder

Laravel Process Builder

Design Laravel processes visually. Generate clean Laravel code.

A visual process builder for designing Laravel routes, controllers, actions, validations, services, and application workflows — conceptually similar to the Joget Process Builder, but generating clean, native, maintainable Laravel code instead of running inside a proprietary engine.

Status: feature-complete MVP, pre-1.0. All planned milestones (scanning, visual editor, validation, preview, safe generation, backups/rollback, audit logging, Artisan commands) are implemented and tested. See IMPLEMENTATION_STATUS.md for details.


Table of contents

  1. Overview
  2. Features
  3. Requirements
  4. Installation
  5. Configuration
  6. Dashboard access
  7. Authorization
  8. Enabling code generation
  9. Creating a process
  10. Scanning existing routes
  11. Previewing generated code
  12. Generating code
  13. Rollback
  14. Artisan commands
  15. Process definition format
  16. Managed-file behavior
  17. Security warnings
  18. Development setup
  19. Running Workbench
  20. Running tests
  21. Building frontend assets
  22. Contributing
  23. Roadmap
  24. License

Overview

Laravel Process Builder lets you design an application flow — route → middleware → form request → controller → action → model operation → event → job → response — on a visual canvas, then generate real, idiomatic Laravel files from that design. Existing application code is always treated as read-only; only files explicitly managed by the package may ever be written or overwritten.

Features

Requirements

Laravel 13 installations will naturally require PHP 8.3+ through Laravel's own constraints.

Installation

Because this package exposes application architecture and code-generation capability, install it as a development dependency:

The dashboard's JavaScript and CSS ship pre-built inside the package — you do not need Node.js, npm, or a build step in your application. vendor:publish --tag=process-builder-assets only copies those already-built files into your app's public/vendor/process-builder directory. (Node/npm are only needed if you're developing this package itself — see Development setup.)

Configuration

Publish the configuration file:

Key environment variables:

See config/process-builder.php for the full set of options (environments whitelist, middleware, authorization gate, output directories, backup retention, scanner exclusions).

Dashboard access

Once enabled and in an authorized environment, visit:

The dashboard is disabled by default outside of local, development, and testing environments, regardless of the enabled flag.

If the page loads blank with no visible error, the built assets haven't been published yet — run php artisan vendor:publish --tag=process-builder-assets (see Installation). The dashboard view itself will also render an on-page message telling you to do this.

Authorization

process-builder:install generates app/Providers/ProcessBuilderAuthServiceProvider.php, a small dedicated provider containing the manage-process-builder gate (denying everyone by default). It never edits your existing AppServiceProvider/AuthServiceProvider, since those can contain arbitrary application code. Register the generated provider:

Then edit the stub to add your real authorization check:

Without this gate defined, anyone who can reach the route can use the dashboard — fine for local development, but it must be locked down before the package is ever enabled outside local/development/testing.

Enabling code generation

Generation is disabled by default. Enable it explicitly per environment:

Every write additionally requires a valid preview confirmation token, an authorized environment, and (if the target file is already managed) a checksum match against the last known generated state.

Creating a process

Open the dashboard, use New Process, drag nodes from the palette onto the canvas, connect them, and fill in each node's properties in the right-hand inspector. Save persists a JSON definition under process-builder/definitions/.

Scanning existing routes

Use the Project Explorer tab, or:

This is entirely read-only and never modifies your application.

Previewing generated code

Use the Preview action in the toolbar, or:

This compiles the process in memory and returns generated code and diffs without writing anything to disk.

Generating code

Requires generation to be enabled, a valid preview, and an authorized environment. Existing non-managed files are never overwritten.

Rollback

Artisan commands

process-builder:demo installs two bundled example processes — "Create Order" (linear route → validation → controller → action → model → event → resource → response) and "Approve Leave Request" (adds a branching condition, a job, and multiple response outcomes) — useful for exploring the dashboard and the generated code output without building a process from scratch.

Process definition format

See docs/process-definition-schema.md.

Managed-file behavior

See docs/security.md.

Security warnings

The dashboard is a highly privileged developer tool: it can read application architecture and write PHP files. Keep it disabled in production, behind authentication and an authorization gate, and never expose it publicly. See docs/security.md for the full threat model.

Development setup

Running Workbench

Then visit http://127.0.0.1:8000/process-builder.

For frontend hot-reload during development, run Vite alongside it:

Running tests

Building frontend assets

Compiled assets are emitted to dist/ with a Vite manifest, and are published to the host application via php artisan vendor:publish --tag=process-builder-assets.

Contributing

Issues and pull requests are welcome. See Security Policy.

Roadmap

See docs/roadmap.md for planned Phase 2–4 features (deeper AST analysis, listener/notification builders, a runtime workflow engine, BPMN import/export, and more).

License

MIT. See LICENSE.


All versions of laravel-process-builder with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
illuminate/routing Version ^12.0 || ^13.0
illuminate/console Version ^12.0 || ^13.0
nikic/php-parser Version ^5.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 mohamedzaki/laravel-process-builder contains the following files

Loading the files please wait ...