Skip to content

Commit e670a28

Browse files
committed
wip
1 parent c5e51eb commit e670a28

File tree

77 files changed

+27
-10242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+27
-10242
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com//workflow-mastery/discussions/new?category=q-a
4+
url: https://github.com/solutionforest/workflow-engine-laravel/discussions/new?category=q-a
55
about: Ask the community for help
66
- name: Request a feature
7-
url: https://github.com//workflow-mastery/discussions/new?category=ideas
7+
url: https://github.com/solutionforest/workflow-engine-laravel/discussions/new?category=ideas
88
about: Share ideas for new features
99
- name: Report a security issue
10-
url: https://github.com//workflow-mastery/security/policy
10+
url: https://github.com/solutionforest/workflow-engine-laravel/security/policy
1111
about: Learn how to notify us for sensitive bugs

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Changelog
22

3-
All notable changes to `workflow-mastery` will be documented in this file.
3+
All notable changes to `workflow-engine-laravel` will be documented in this file.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Laravel Workflow Engine
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/solution-forest/laravel-workflow-engine.svg?style=flat-square)](https://packagist.org/packages/solution-forest/laravel-workflow-engine)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/solution-forest/laravel-workflow-engine/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/solution-forest/laravel-workflow-engine/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![Total Downloads](https://img.shields.io/packagist/dt/solution-forest/laravel-workflow-engine.svg?style=flat-square)](https://packagist.org/packages/solution-forest/laravel-workflow-engine)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/solution-forest/workflow-engine-laravel.svg?style=flat-square)](https://packagist.org/packages/solution-forest/workflow-engine-laravel)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/solutionforest/workflow-engine-laravel/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/solutionforest/workflow-engine-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![Total Downloads](https://img.shields.io/packagist/dt/solution-forest/workflow-engine-laravel.svg?style=flat-square)](https://packagist.org/packages/solution-forest/workflow-engine-laravel)
66

77
**A modern, type-safe workflow engine for Laravel built with PHP 8.3+ features**
88

@@ -23,7 +23,7 @@ Create powerful business workflows with a beautiful, fluent API. Turn complex pr
2323
### Installation
2424

2525
```bash
26-
composer require solution-forest/laravel-workflow-engine
26+
composer require solution-forest/workflow-engine-laravel
2727
php artisan vendor:publish --tag="workflow-engine-config"
2828
php artisan migrate
2929
```

composer.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"state-machine",
1313
"laravel-package"
1414
],
15-
"homepage": "https://github.com/solution-forest/workflow-engine-laravel",
15+
"homepage": "https://github.com/solutionforest/workflow-engine-laravel",
1616
"license": "MIT",
1717
"authors": [
1818
{
@@ -23,12 +23,12 @@
2323
],
2424
"require": {
2525
"php": "^8.3",
26-
"solution-forest/workflow-engine-core": "*",
27-
"spatie/laravel-package-tools": "^1.16",
2826
"illuminate/contracts": "^10.0||^11.0||^12.0",
29-
"illuminate/support": "^10.0||^11.0||^12.0",
3027
"illuminate/database": "^10.0||^11.0||^12.0",
31-
"illuminate/events": "^10.0||^11.0||^12.0"
28+
"illuminate/events": "^10.0||^11.0||^12.0",
29+
"illuminate/support": "^10.0||^11.0||^12.0",
30+
"solution-forest/workflow-engine-core": "dev-main",
31+
"spatie/laravel-package-tools": "^1.16"
3232
},
3333
"conflict": {
3434
"laravel/framework": "<11.0.0"
@@ -60,12 +60,6 @@
6060
"Workbench\\App\\": "workbench/app/"
6161
}
6262
},
63-
"repositories": [
64-
{
65-
"type": "path",
66-
"url": "./packages/workflow-engine-core"
67-
}
68-
],
6963
"scripts": {
7064
"post-autoload-dump": "@composer run prepare",
7165
"prepare": "@php vendor/bin/testbench package:discover --ansi",
@@ -92,5 +86,5 @@
9286
}
9387
},
9488
"minimum-stability": "dev",
95-
"prefer-stable": true
89+
"prefer-stable": false
9690
}

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For contributors and those interested in the internals:
2525

2626
## Quick Links
2727

28-
- [GitHub Repository](https://github.com/solution-forest/laravel-workflow-engine)
29-
- [Packagist Package](https://packagist.org/packages/solution-forest/laravel-workflow-engine)
30-
- [Issue Tracker](https://github.com/solution-forest/laravel-workflow-engine/issues)
28+
- [GitHub Repository](https://github.com/solutionforest/workflow-engine-laravel)
29+
- [Packagist Package](https://packagist.org/packages/solution-forest/workflow-engine-laravel)
30+
- [Issue Tracker](https://github.com/solutionforest/workflow-engine-laravel/issues)
3131
- [Contributing Guidelines](../CONTRIBUTING.md)

docs/advanced-features.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,19 +265,19 @@ Listen to workflow events:
265265

266266
```php
267267
use SolutionForest\WorkflowEngine\Events\WorkflowStarted;
268-
use SolutionForest\WorkflowEngine\Events\WorkflowCompleted;
269-
use SolutionForest\WorkflowEngine\Events\WorkflowFailed;
268+
use SolutionForest\WorkflowEngine\Events\WorkflowCompletedEvent;
269+
use SolutionForest\WorkflowEngine\Events\WorkflowFailedEvent;
270270

271271
// In your EventServiceProvider
272272
protected $listen = [
273273
WorkflowStarted::class => [
274274
LogWorkflowStarted::class,
275275
],
276-
WorkflowCompleted::class => [
276+
WorkflowCompletedEvent::class => [
277277
LogWorkflowCompleted::class,
278278
SendCompletionNotification::class,
279279
],
280-
WorkflowFailed::class => [
280+
WorkflowFailedEvent::class => [
281281
LogWorkflowFailure::class,
282282
AlertAdministrators::class,
283283
],

docs/best-practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ Alert on workflow failures and performance issues:
345345

346346
```php
347347
// In your EventServiceProvider
348-
use SolutionForest\WorkflowEngine\Events\WorkflowFailed;
348+
use SolutionForest\WorkflowEngine\Events\WorkflowFailedEvent;
349349

350350
protected $listen = [
351-
WorkflowFailed::class => [
352-
function (WorkflowFailed $event) {
351+
WorkflowFailedEvent::class => [
352+
function (WorkflowFailedEvent $event) {
353353
// Alert if critical workflow fails
354354
if (in_array($event->workflowName, ['payment-processing', 'order-fulfillment'])) {
355355
Alert::critical("Critical workflow failed: {$event->workflowName}", [

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
### Install the Package
1212

1313
```bash
14-
composer require solution-forest/laravel-workflow-engine
14+
composer require solution-forest/workflow-engine-laravel
1515
```
1616

1717
### Publish Configuration

docs/migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This guide helps you migrate from the array-based workflow configuration to the
1616
#### 1. Update Composer Dependencies
1717

1818
```bash
19-
composer update solution-forest/laravel-workflow-engine
19+
composer update solution-forest/workflow-engine-laravel
2020
```
2121

2222
#### 2. Publish New Configuration
@@ -376,5 +376,5 @@ If you encounter issues during migration:
376376

377377
1. Check the [troubleshooting guide](troubleshooting.md)
378378
2. Review the [examples](../src/Examples/ModernWorkflowExamples.php)
379-
3. Open an issue on [GitHub](https://github.com/solution-forest/laravel-workflow-engine/issues)
379+
3. Open an issue on [GitHub](https://github.com/solutionforest/workflow-engine-laravel/issues)
380380
4. Join our [Discord community](https://discord.gg/workflow-engine)

packages/workflow-engine-core/README.md

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)