{"id":25978456,"url":"https://github.com/troychaplin/multi-block-mayhem","last_synced_at":"2026-04-17T03:33:46.230Z","repository":{"id":278842667,"uuid":"935194578","full_name":"troychaplin/multi-block-mayhem","owner":"troychaplin","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T13:12:46.000Z","size":2324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T13:38:19.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/troychaplin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-19T03:53:19.000Z","updated_at":"2025-03-01T12:50:27.000Z","dependencies_parsed_at":"2025-03-01T13:48:26.873Z","dependency_job_id":null,"html_url":"https://github.com/troychaplin/multi-block-mayhem","commit_stats":null,"previous_names":["troychaplin/image-multi-block","troychaplin/multi-block-of-madness","troychaplin/multi-block-mayhem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fmulti-block-mayhem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fmulti-block-mayhem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fmulti-block-mayhem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troychaplin%2Fmulti-block-mayhem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troychaplin","download_url":"https://codeload.github.com/troychaplin/multi-block-mayhem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241971039,"owners_count":20050763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-05T05:26:55.548Z","updated_at":"2026-04-17T03:33:46.223Z","avatar_url":"https://github.com/troychaplin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi Block Mayhem\n\nA collection of advanced WordPress blocks for creating stunning visual layouts. Multi Block Mayhem provides professional-grade blocks for galleries, collages, and interactive content that go beyond the standard WordPress block library.\n\n## Table of Contents\n\n- [Available Blocks](#-available-blocks)\n- [Quick Start](#-quick-start)\n- [Block Documentation](#-block-documentation)\n- [Development](#️-development)\n- [Contributing](#-contributing)\n- [Technical Specifications](#-technical-specifications)\n- [Project Structure](#-project-structure)\n\n## 🎨 Available Blocks\n\n### Gallery \u0026 Layout Blocks\n\n- **[Mosaic Gallery](src/blocks/mosaic-gallery/README.md)** - Create Pinterest-style masonry layouts with CSS columns\n- **[Image Collage](src/blocks/image-collage/README.md)** - Build magazine-style grid layouts with column spanning\n\n### Supporting Blocks\n\n- **[Image Collage Image](src/blocks/image-collage-image/README.md)** - Advanced image block for collages with focal points and spanning\n\n## ✨ Key Features\n\n- **Modern CSS Layouts**: CSS Grid, Flexbox, and CSS Columns for responsive designs\n- **Advanced Image Controls**: Focal points, zoom, multiple resolutions, and custom uploaders\n- **Responsive Design**: All blocks automatically adapt to different screen sizes\n- **Performance Optimized**: Efficient asset loading and PHP rendering where appropriate\n- **Developer Friendly**: Clean code, WordPress standards, and comprehensive documentation\n\n## 🚀 Quick Start\n\n### Installation\n\n1. **Download the plugin** and upload it to your WordPress site\n2. **Activate** the plugin in your WordPress admin\n3. **Start building** - the blocks will appear in the Media category of the block inserter\n\n### Basic Usage\n\n1. **Add a block** from the Media category in the block editor\n2. **Configure settings** using the block's sidebar controls\n3. **Add content** by uploading images or adding text as needed\n4. **Customize appearance** with spacing, borders, and layout options\n\n## 📖 Block Documentation\n\nEach block includes comprehensive documentation:\n\n- **User guides** with step-by-step instructions\n- **Feature explanations** with tips and best practices\n- **Technical documentation** for developers\n- **Example layouts** and use cases\n\nClick on any block name above to view its complete documentation.\n\n## 🛠️ Development\n\n### Prerequisites\n\n- WordPress 5.8+ (Block Editor support)\n- Node.js 16+ (for development)\n- Composer (for PHP dependencies)\n\n### Local Development Setup\n\n```bash\n# Clone the repository\ngit clone [repository-url]\ncd multi-block-mayhem\n\n# Install dependencies\nnpm install\ncomposer install\n\n# Start development\nnpm start\n```\n\n### Building for Production\n\n```bash\nnpm run build\n```\n\n### Development Commands\n\n- `npm start` - Start development with hot reloading\n- `npm run build` - Build production assets\n- `npm run lint:js` - Lint JavaScript files\n- `npm run lint:css` - Lint CSS files\n- `npm run format` - Format code to WordPress standards\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how you can help:\n\n### Reporting Issues\n\n1. **Check existing issues** first\n2. **Provide details** about your WordPress version, theme, and steps to reproduce\n3. **Include screenshots** when possible\n\n### Suggesting Features\n\n1. **Open a discussion** to propose new features\n2. **Describe the use case** and how it would benefit users\n3. **Consider existing blocks** and how it might fit\n\n### Code Contributions\n\n1. **Fork the repository**\n2. **Create a feature branch** from `main`\n3. **Follow WordPress coding standards**\n4. **Add tests** for new functionality\n5. **Update documentation** as needed\n6. **Submit a pull request**\n\n### Development Guidelines\n\n- **Follow WordPress coding standards** (PHP_CodeSniffer, ESLint)\n- **Write clear commit messages**\n- **Update documentation** for any new features\n- **Test across different themes and WordPress versions**\n- **Ensure accessibility compliance**\n\n## 📋 Technical Specifications\n\n### Block Architecture\n\n- **Static Blocks**: JavaScript-rendered blocks with save functions\n- **Dynamic Blocks**: PHP server-side rendered blocks\n- **Interactive Blocks**: Client-side JavaScript functionality\n\n### Build System\n\n- **Webpack-based** build process\n- **Automatic versioning** through WordPress asset system\n- **Optimized bundles** for editor and frontend\n- **CSS preprocessing** with SCSS support\n\n### Performance Features\n\n- **Conditional asset loading** - scripts only load when blocks are used\n- **PHP rendering** for dynamic content to improve performance\n- **Optimized images** with multiple resolution support\n- **Minimal dependencies** for fast loading\n\n## 📁 Project Structure\n\n```\nmulti-block-mayhem/\n├── build/                    # Compiled assets\n├── src/                      # Source code\n│   ├── blocks/               # Individual block implementations\n│   │   ├── mosaic-gallery/   # Masonry gallery block\n│   │   ├── image-collage/    # Grid-based collage block\n│   │   └── swatch-cards/     # Color swatch display block\n│   └── supports/             # Shared components\n├── classes/                  # PHP classes\n├── vendor/                   # Composer dependencies\n└── node_modules/             # Node dependencies\n```\n\n## 📄 License\n\nThis plugin is licensed under the GPL v2 or later.\n\n## 🙏 Credits\n\nBuilt with modern WordPress development practices and the WordPress Block Editor APIs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fmulti-block-mayhem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroychaplin%2Fmulti-block-mayhem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroychaplin%2Fmulti-block-mayhem/lists"}