headless-ninja / drupal-template
Project template for Drupal 8 projects with composer
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- headless-ninja/drupal-distribution: dev-8.x-1.x
Requires (Dev)
- behat/mink: ~1.7
- behat/mink-goutte-driver: ~1.2
- drupal/coder: ^8.2
- drupal/devel: ^1.0@RC
- drupal/features: ^3.5
- jcalderonzumba/gastonjs: ~1.0.2
- jcalderonzumba/mink-phantomjs-driver: ~0.3.1
- mikey179/vfsstream: ~1.2
- phpunit/phpunit: >=4.8.28 <5
- symfony/css-selector: ~2.8
This package is not auto-updated.
Last update: 2025-03-07 23:30:18 UTC
README
A simple composer file to get you started with the Headless Ninja Starterkit
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- PHP 7.x
Installing
Before you start, you need to make sure Composer is installed on your computer. If you run composer -V
in your terminal and see something like Composer version 1.x.x
popping up, you're ready to go.
You install our distribution the following ways:
Composer
Create a directory for your project and run the following command in your terminal:
composer create-project headless-ninja/drupal-template -s dev --remove-vcs
This will download a basic Drupal project with HN and other nice-to-have modules installed.
Git
Clone this repository
git clone https://github.com/headless-ninja/drupal-template.git hn-drupal-template
Go to the directory of the project. Start with composer install
, this will download a basic Drupal project with HN and other nice-to-have modules installed.
Start server
To start the php server, run composer run start-server --timeout 0
in your terminal. You will need to keep this command running while you're developing.
In your terminal, the URL of your Drupal installation will show up. Open that URL in your browser and follow the on-screen instructions to install the HN Starterskit.
Running the tests
Yet to come
Built With
- Composer - Dependency Manager for PHP