dakala / phpedu-project
Project template for Drupal 8 sites built with the PhpEdu distribution.
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- cweagans/composer-patches: ^1.6.0
- drupal-composer/drupal-scaffold: ~2.6.1
- drupal/core: ~8.4.0
- drupal/phpedu_profile: 1.x-dev
Requires (Dev)
- behat/behat: ^3.0
- behat/mink: ~1.7
- behat/mink-goutte-driver: ~1.2
- composer/composer: ^1.3
- drupal/coder: 8.*
- drupal/console: 1.0.1
- drupal/drupal-extension: ~3.3.0
- drush/drush: ^9.0
- jcalderonzumba/gastonjs: ~1.0.2
- mikey179/vfsstream: ~1.2
- phpunit/phpunit: ~4.8
- se/selenium-server-standalone: ^2.53
- symfony/css-selector: ~2.8
This package is auto-updated.
Last update: 2025-01-06 04:56:22 UTC
README
This is a Composer-based installer for the PhpEdu Drupal distribution.
Get Started
You will need the following installed:
When you have those, run this command:
$ composer create-project dakala/phpedu-project:8.x-dev MY_PROJECT --no-interaction
Composer will create a new directory called MY_PROJECT containing a docroot
directory with a full PhpEdu code base therein. You can then install it like you would any other Drupal site.
Maintenance
Use this table as your guide to maintaining your code base with Composer:
Composer is a dependency manager. If module foo-8.x-1.0
depends on baz-8.x-3.2
, Composer will not let you update baz to 8.x-3.3
(or downgrade it to 8.x-3.1
, for that matter).
Composer is only responsible for maintaining the code base.
Source Control
If you peek at the .gitignore
we provide, you'll see that certain directories, including all directories containing contributed projects, are excluded from source control. This might be a bit disconcerting if you're newly arrived from Planet Drush, but in a Composer-based project like this one, you SHOULD NOT commit your installed dependencies to source control.
When you set up the project, Composer will create a file called composer.lock
, which is a list of which dependencies were installed, and in which versions. Commit composer.lock
to source control! Then, when your colleagues want to spin up their own copies of the project, all they'll have to do is run composer install
, which will install the correct versions of everything in composer.lock
.