composer columncontrol
composer columncontrol
Hello
these packages are not available in the Packagist repository.
When doing the following commands:
composer require datatables.net/datatables.net-columncontrol-dt
composer require datatables.net/datatables.net-columncontrol-ju
I receive the following messages:
Could not find a matching version of package datatables.net/datatables.net-columncontrol-dt. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).
Is it possible to upload the missing plugins on packagist, please?
Thank you !
Answers
Good point! Yes, I need to go through all of the packages and make sure that they are actually registered on Packagist. Your Editor thread will have the same problem as well (as well as not displaying in the download builder for composer).
I'll see if I can do something about that tomorrow
Allan
Hello Allan,
thanks a lot!
I've been through the Composer packages and made sure that they are all now registered with Packagist. They aren't yet all available though as they need a release after they have been setup for that to work. I'll aim to get the releases done next week.
Allan
Hello Allan,
I'm updating my project to version 3.
In the process, I noticed a few other things.
DataTables plugins have never been included in the Download Builder either;
I use the API specifically sum.js from time to time, and i18n quite extensively.
As in this example
language: {
url: '.../i18n/dataTables.german.json'
}
It would certainly be a benefit if the package were available through the Download Builder.
On the page https://datatables.net/manual/extensions/staterestore/
it also says that it should be available through the Download Builder. But it isn’t.
I don’t use that either, though.
Hi,
Thanks for the feedback - very much appreciated.
The problem with adding the plugins to the download builder is that there are a lot of them. It would be a UX and maintenance nightmare to make them available I think. They are however easily accessible via the CDN - e.g. https://cdn.datatables.net/plug-ins/3.0.2/i18n/de-DE.json .
If you want to download the files so you can serve them locally, you can copy / paste the code from the CDN file into a local one.
Regarding StateRestore - it hasn't acutally been ported to DataTables 3 yet, which is why it isn't in the download builder (or that manual page linked from the other manual pages yet - it is legacy from the old one!). I hope to release the new build of StateRestore in the next week or so. It will be part of DataTables Plus as it is a complete rewrite of the software.
Regards,
Allan
I host everything locally, so it’s no problem to download a package manually.
As for the plugins, my idea was more to perhaps make them available as a complete package via Composer or whatever, just as if you were downloading them manually.
Oh I see. Yes, I could look at making the plugins repo available on Composer - thanks for the suggestion. It is on npm already, so it would make sense to mirror it on Composer. Added to the list
Allan