madalinignisca/drupal-skeleton

Drupal application skeleton

8.2.0 2016-10-06 15:46 UTC

README

Intro

I made this repo as I wasn't happy with issues I was encountering using other solutions and I wanted to use Drupal in the modern style of web applications.

This repo is very light, is intended for only small network transfers and automating deployments, using Composer, Drush and Drupal Console.

For me it was critical to work 100% well with Open DevShop.

If you are not used to modern web apps, then this is a good starting point to dig in and learn.

Drupal is installed in the web/core folder, being pulled by Composer and placed there.

As you may know, Drupal 8+ uses the concept of PHP packages, most notable some important Symfony packages, some Zend Framework packages and as it evolves you are going to see more and more added to your project.

In this skeleton, Composer is instructed to place the Vendor folder in the root of the project, outside of the Drupal root.

Getting started

Classic Composer project initiation: composer create-project madalinignisca/drupal-skeleton mydrupalapp

This will create a starting point for your project using the latest stable version.

After the project is created, you should init your git repo and enjoy working with it.

Search for a Drupal module with composer search module_theme_name. Install it using composer require drupal/module_theme_name. If in need of an unstable release, do explicit version: composer require drupal/eck:~1.0@alpha for example.

Participate in the modules that are critical to you to help developers get stable releases much faster.

Be a true Drupalist

Official documentation for running Drupal using Composer can be found here.

Join the improvement of this project on Github