Thank you for your interest in contributing to Bagisto Visual! We welcome issues, suggestions, bug reports, and pull requests that improve the project.
Create your own fork of the repo and clone it locally:
git clone https://github.com/YOUR_USERNAME/visual.git
cd visualMake sure you have a working Bagisto installation and that your local theme uses your development version of the package.
Install dependencies and link your fork locally if needed:
composer install
npm installName your branch based on the type of change:
git checkout -b fix/theme-editor-alignmentWrite clear, consistent code. Follow the existing conventions.
If you’re adding a feature:
- Include documentation
- Add a code comment where necessary
If you’re fixing a bug:
- Include a test case or steps to reproduce if possible
All commits must follow the Conventional Commits specification. The commit-msg git hook (installed automatically by Composer through CaptainHook) validates the message format locally, and a GitHub Actions workflow re-validates every commit on every pull request.
git add .
git commit -m "fix: correct section layout misalignment"| Type | Use for |
|---|---|
feat |
New user-facing feature |
fix |
Bug fix |
refactor |
Code change that neither adds a feature nor fixes a bug |
perf |
Performance improvement |
style |
Formatting, whitespace, missing semicolons (no logic change) |
test |
Adding or correcting tests |
docs |
Documentation only |
build |
Build system or external dependencies |
ci |
CI configuration and workflows |
chore |
Other changes that do not modify source or tests |
A scope is optional and uses kebab-case (e.g. feat(editor): ...). Breaking changes use a ! after the type/scope or a BREAKING CHANGE: footer, and trigger a major version bump on the next release.
Go to the main repo and submit your pull request from your fork.
Include a short summary describing what you did and why it’s useful.
- Open an issue
- Describe the problem or idea clearly.
- Include screenshots, code samples, or reproduction steps when helpful.
- PSR-12 coding standard for PHP
- Tailwind CSS for frontend
- Follow Blade and Livewire best practices
- Keep PRs focused — avoid mixing unrelated changes
We’re building Bagisto Visual to empower developers and merchants alike. Your ideas, feedback, and contributions make the project better for everyone.