Problem/Motivation

I installed your Module and the 6 Libraries, but i did not get the correct folder of the libraries. I cannot use Composer.

Steps to reproduce

I installed the Libraries in "modules/csv_serialization/lib". Is that correct? My error.log shows me, it did not find it.
I used the Module Ludwig as an Alternataive to Composer. Ludwig works for me with an another module, but it does not show the 6 libraries of your module.

Do you have a hint, where i have to save the 6 libraries on webserver?
By the way: I checked al lot of Module for WORD-DOC-Export in Drupal9. Your Module is the only one i found, that could work ;-)
Other Modules are actually not updatet for D9 oder does not support the DOC function D9 (only csv etc.).

Thanks for help!

Original title: Installation in Drupal9 without Composer

CommentFileSizeAuthor
#4 3220630-04.patch318 bytesdevad

Comments

PhilippJor created an issue. See original summary.

theemstra’s picture

Version: 8.x-3.0-beta1 » 8.x-3.x-dev
Component: Documentation » Code
Category: Support request » Feature request
Priority: Normal » Minor
Status: Active » Needs work

Hi,

Not using composer for maintaining Drupal 8/0 isn't recommended AFAIK, because the libraries can hardly be managed for modules like these, I had never heard of that module before.
If you file a patch I'll test it and add it to the next release.

It appears to be the fact of adding a JSON file.
https://www.drupal.org/docs/contributed-modules/ludwig/can-i-manage-libr...

With composer a vendor-folder will be added, and it adds a autoloader which will make the libraries available. I'm not too sure how ludwig loads the libraries.

mmjvb’s picture

Ludwig is for those that can't use the recommended method. When using Ludwig the dependencies can be downloaded in the module itself. Choose the `download and unpack missing libraries` on admin/reports/packages.

Just like Composer, Ludwig will take care of the autoloading. Contrary to Composer dependencies will be placed by Ludwig with the modules in lib folder.

devad’s picture

Title: Installation in Drupal9 without Composer » Word Serialization - Add Ludwig integration
Assigned: philippjor » Unassigned
Priority: Minor » Normal
Issue summary: View changes
Status: Needs work » Needs review
Issue tags: -Drupal9, -doc export, -word export
StatusFileSize
new318 bytes

Here is a working Ludwig integration patch.

@theemstra, please review it and consider a commit. If you have more questions about how Ludwig works take a look at:

Ludwig integration developer's guide and FAQ

Ludwig integration is the optimal D8/9 way to add support for Drupal users not familiar with Composer yet.

Ludwig is created and maintained by Drupal Commerce team to solve all kinds of "How can I use this module without Composer?" issues.

  • theemstra committed 387aaf0 on 8.x-3.x
    Issue #3220630 by devad: Word Serialization - Add Ludwig integration....
theemstra’s picture

Assigned: Unassigned » theemstra
Status: Needs review » Fixed

Applied patch in dev version, thanks for providing the patch

theemstra’s picture

Status: Fixed » Closed (fixed)