Download the PHP package drupalninja/drupalx-decoupled without Composer
On this page you can find all versions of the php package drupalninja/drupalx-decoupled. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download drupalninja/drupalx-decoupled
More information about drupalninja/drupalx-decoupled
Files in drupalninja/drupalx-decoupled
Package drupalx-decoupled
Short Description Enterprise template for decoupled Drupal projects.
License GPL-2.0-or-later
Informations about the package drupalx-decoupled
DrupalX Decoupled Starter
A modern, enterprise-ready Drupal 11 decoupled project template featuring GraphQL API, Next.js frontend, and a comprehensive component library. Built with recipes, Storybook, and TypeScript for rapid development and deployment.
Features
Backend (Drupal 11)
- GraphQL API - Fully configured GraphQL server with compose fragments
- Recipe System - Modular configuration using Drupal recipes
- Content Types - Pre-configured Article, Page, and Landing page types
- Paragraph Components - 15+ reusable paragraph components (Hero, Cards, Carousel, etc.)
- Media Management - Image, SVG, and video media types with responsive image styles
- Preview System - Live preview with decoupled iframe integration
- OAuth Authentication - Simple OAuth for secure API access
Frontend (Next.js 15)
- TypeScript - Full TypeScript support with type safety
- Tailwind CSS - Utility-first CSS framework with custom components
- Radix UI - Accessible component primitives
- Storybook - Component library documentation and testing
- Cypress - End-to-end testing framework
- GraphQL Client - Fully typed GraphQL queries and mutations
- Component Library - 25+ pre-built React components
- Responsive Design - Mobile-first responsive layouts
Development Environment
- DDEV - Containerized development environment
- Multiple Recipes - Demo, Government, University, and Nonprofit content
- Hot Reload - Development server with live reload
- Code Quality - ESLint, Prettier, and TypeScript checking
Requirements
- PHP 8.3 or higher
- Node.js 20+ (managed via nvm)
- Composer 2.x
- DDEV (recommended) or Docker
- Git
Installation
1. Create your project
2. Set up permissions
3. Configure DDEV
4. Install Drupal with recipes
This command will:
- Start DDEV containers
- Install Composer dependencies
- Install Drupal with minimal profile
- Apply DrupalX GraphQL and Core recipes
- Configure OAuth consumer keys
- Generate admin login link
5. Set up Next.js frontend
In a new terminal tab:
6. Access your sites
- Drupal Admin: Use the login link generated by
ddev install - Next.js Frontend: https://your-project.ddev.site:8080
- GraphQL Explorer: https://your-project.ddev.site/graphql/explorer
Development Workflow
Available Recipes
The project includes several content recipes you can apply:
Common Commands
Backend (Drupal):
Frontend (Next.js):
Component Development
Storybook - Component library and documentation:
Cypress Testing - End-to-end testing:
Frontend Architecture
Technology Stack
- Next.js 15 - React framework with App Router
- TypeScript - Type safety and better developer experience
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Headless UI components
- Shadcn/ui - Modern component library
- URQL - GraphQL client with caching
- Embla Carousel - Accessible carousel component
- Lucide React - Beautiful icon library
Component Library
The project includes 25+ pre-built components:
- Layout: Header, Footer, Container
- Content: Hero, Text, RichText, Media
- Navigation: MainMenu, Pager
- Interactive: Accordion, Carousel, Modal, Tabs
- Forms: Newsletter, Button, Input
- Data Display: Card, Gallery, Stats, Pricing
- Feedback: Alert, Badge, Tooltip
GraphQL Integration
- Fully typed GraphQL queries
- Fragment composition for reusable query parts
- Automatic TypeScript generation
- Optimized caching strategies
Troubleshooting
Common Issues
DDEV won't start:
Port conflicts:
GraphQL schema issues:
Next.js build errors:
Permission issues:
Node.js version issues:
Support
For issues specific to this template:
- Check the GitHub Issues
- Review the CI workflow for testing examples
For general support:
All versions of drupalx-decoupled with dependencies
cweagans/composer-patches Version ^1.7
drupal/decoupled_preview_iframe Version ^1.0
drupal/graphql_compose_fragments Version 1.0.x-dev
drupal/graphql_compose_preview Version ^1.0
drupal/simple_oauth Version ^5.2
drupalninja/drupalx-core Version ^1.0
drupalninja/drupalx-paragraphs Version ^1.0
drupalninja/drupalx_ai Version 1.x-dev
drush/drush Version ^11 || ^12 || ^13
oomphinc/composer-installers-extender Version ^2.0
vlucas/phpdotenv Version ^5.1
webflo/drupal-finder Version ^1.2