https://github.com/solsoft/drupal-boilerplate
Boilerplate for creating Drupal projects. Uses Composer.
https://github.com/solsoft/drupal-boilerplate
boilerplate composer drupal drupal-7 drupal-8 php
Last synced: 2 months ago
JSON representation
Boilerplate for creating Drupal projects. Uses Composer.
- Host: GitHub
- URL: https://github.com/solsoft/drupal-boilerplate
- Owner: solsoft
- License: gpl-3.0
- Created: 2016-05-07T14:27:05.000Z (almost 10 years ago)
- Default Branch: 8.x
- Last Pushed: 2017-05-17T15:27:41.000Z (almost 9 years ago)
- Last Synced: 2026-01-14T15:48:25.034Z (2 months ago)
- Topics: boilerplate, composer, drupal, drupal-7, drupal-8, php
- Language: PHP
- Homepage: http://sol-soft.org/
- Size: 163 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drupal-boilerplate
[](https://travis-ci.org/solsoft/drupal-boilerplate)
[](https://www.versioneye.com/user/projects/58fea3616ac17142da9c8a03)
[](https://packagist.org/packages/solsoft/drupal-boilerplate)
[](https://travis-ci.org/solsoft/drupal-boilerplate)
[](https://github.com/solsoft/drupal-boilerplate/blob/8.x/LICENSE)
Boilerplate for deploying new [Drupal](https://drupal.org/) projects. Based on [drupal-composer/drupal-project](https://github.com/drupal-composer/drupal-project).
Using [Composer](https://getcomposer.org/) and associated plugins, and the official [packages.drupal.org](http://drupal-composer.org/) repository.
Packages are published and updated regularly at [Packagist](https://packagist.org/packages/solsoft/drupal-boilerplate).
Examples are provided for a series of modules and themes and are included in the `composer create-project` process.
## Drupal versions supported
- Drupal 8.0.x - 8.3.x
- Drupal 7.x
Drupal 7.x is being deployed with a Drupal 8 look alike directory structure, using [davidbarratt/drupal-structure](https://github.com/davidbarratt/drupal-structure).
## Development branches
- 8.x - development branch for the latest Drupal 8.3.x
- 7.x - development branch for the latest Drupal 7.x
## Usage
Before starting, consult the Composer reference for standard usage instructions.
Use `composer create-project` to deploy a new project, specifying one branch.
```
composer create-project solsoft/drupal-boilerplate:8.x-dev my-project --stability dev --no-interaction;
cd my-project;
composer update;
composer show;
composer site-install;
composer site-run;
```
## Contributing
Clone the git repository pointing to one of the development branches.
Merge requests should be submitted against these branches.
```
git clone -b 8.x git@github.com:solsoft/drupal-boilerplate.git;
cd drupal-boilerplate;
composer install;
composer update;
composer show;
composer site-install;
composer site-run;
```
### Extras
Optionally you may run `composer examples-deploy` to install example Drupal
Contributed libraries, modules and themes example dependencies. These can
also be undeployed by running `composer examples-undeploy`. See more
information about this in the `config/composer.examples` directory.
Drush can be deployed locally by running `composer drush-deploy`.
The project can be reset by running `composer cleanup-project` to delete
the `vendor/`, `assets/` and `app/` directories and the `composer.lock` file.
## Credits
See the [composer README](composer/README.md) for information about composer packages.
Inspiration taken from [drupal-composer/drupal-project](https://github.com/drupal-composer/drupal-project).
Drupal Boilerplate
Copyright (C) 2016-2017 SOL-Soft
Luís Pedro Algarvio
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .