Skip to content

Setup orchestra/testbench Workbench for local package development#23

Merged
kawax merged 7 commits into
developfrom
copilot/fix-22
Jul 17, 2025
Merged

Setup orchestra/testbench Workbench for local package development#23
kawax merged 7 commits into
developfrom
copilot/fix-22

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 16, 2025

This PR implements the complete setup of orchestra/testbench Workbench to enable local development server functionality for the self-ordering package.

Changes Made

  • Installed Workbench: Used vendor/bin/testbench workbench:install to generate complete workbench environment
  • Generated Structure: Created workbench directory with proper Laravel application layout including:
    • workbench/app/ - Application models and providers
    • workbench/bootstrap/ - Bootstrap configuration
    • workbench/database/ - Migrations, factories, and seeders
    • workbench/routes/ - Web and console routes
    • workbench/resources/ - Views directory
  • Updated composer.json: Added workbench namespaces and essential scripts:
    • composer run serve - Start local development server
    • composer run build - Build workbench environment
    • composer run test - Run tests with proper cleanup
  • Created testbench.yaml: Configuration file for workbench settings
  • Updated .gitignore: Excluded workbench artifacts and build files

Usage

Developers can now start a local development server for package development:

composer run serve

This will:

  1. Build the workbench environment
  2. Set up database migrations
  3. Start the Laravel development server at http://127.0.0.1:8000

Screenshots

Workbench Welcome Page

The workbench provides a complete Laravel application environment for developing and testing the self-ordering package functionality.

Testing

All existing tests continue to pass (45/45), ensuring no regression in package functionality.

Fixes #22.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@amazon-q-developer
Copy link
Copy Markdown

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

@amazon-q-developer
Copy link
Copy Markdown

✅ I finished the code review, and didn't find any security or code quality issues.

Copilot AI and others added 3 commits July 16, 2025 23:58
Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Copilot AI changed the title [WIP] orchestra/testbench Workbenchのインストール Setup orchestra/testbench Workbench for local package development Jul 17, 2025
Copilot AI requested a review from kawax July 17, 2025 00:10
Copilot finished work on behalf of kawax July 17, 2025 00:10
Comment thread .phpunit.result.cache Outdated
Comment thread build/logs/clover.xml Outdated
Comment thread public/build/manifest.json Outdated
Comment thread testbench.yaml
Comment thread workbench/routes/web.php Outdated
Comment thread testbench.yaml
…er, clean up routes

Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Copilot finished work on behalf of kawax July 17, 2025 00:36
Comment thread build/logs/clover.xml Outdated
Co-authored-by: kawax <1502086+kawax@users.noreply.github.com>
Copilot finished work on behalf of kawax July 17, 2025 00:42
Copilot AI requested a review from kawax July 17, 2025 00:42
@kawax kawax marked this pull request as ready for review July 17, 2025 00:43
@kawax kawax merged commit 62d8a89 into develop Jul 17, 2025
2 checks passed
@kawax kawax deleted the copilot/fix-22 branch July 17, 2025 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

orchestra/testbench Workbenchのインストール

2 participants