Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ranqiangjun/drulibs
https://github.com/ranqiangjun/drulibs
drupal
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ranqiangjun/drulibs
- Owner: ranqiangjun
- Created: 2020-12-14T13:16:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T03:12:04.000Z (almost 2 years ago)
- Last Synced: 2024-11-27T11:17:27.316Z (2 months ago)
- Topics: drupal
- Homepage: https://ranqiangjun.github.io/drulibs
- Size: 478 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal Libraries -- make easy Drupal libraries management with Composer
This is a custom Composer repository built with [satis](https://github.com/composer/satis) for 3rd party libraries used by Drupal contributed projects
(modules/themes/distributions)### How to use?
Add the following lines to your project's root `composer.json` file
```
{
"repositories": [{
"type": "composer",
"url": "https://drulibs.github.io/drulibs"
}]
}
```After adding the above lines, your root `composer.json` file may look like:
```
{
...
"type": "project",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://drulibs.github.io/drulibs"
}
],
"require": {
...
```That's all.
Next, just add the library/libraries by Composer as normal. For
example:```bash
composer require d-enyo/dropzone
```or
```bash
composer require d-enyo/dropzone:5.7.1
```However, as you can see, `d-` needs to be prepended to the package/library
name. That's the naming convention.### How to contribute?
Read the `How it works?` section of the blog post [Drulibs.com: an easier way managing Drupal 3rd-party FE libraries with Composer](https://jungleran.com/drulibs)