retrofit-drupal / retrofit
Retrofit provides compatibility layers to run legacy Drupal code.
Installs: 361
Dependents: 0
Suggesters: 0
Security: 0
Stars: 75
Watchers: 5
Forks: 3
Open Issues: 29
Requires
- php: ^8.1
- drupal/core: ^10
Requires (Dev)
- ergebnis/composer-normalize: ^2.31
- mglaman/drupal-test-helpers: ^1.0
- mglaman/phpstan-drupal: ^1.2
- mikey179/vfsstream: ^1.6
- phpspec/prophecy-phpunit: ^2.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.7
- symfony/css-selector: ^6.3
- symfony/phpunit-bridge: ^6.2
This package is auto-updated.
Last update: 2024-11-05 13:27:42 UTC
README
The Retrofit provides compatibility layers for legacy Drupal code to allow run on any version of Drupal.
Installation
Retrofit is not a module. All you need to do is install the package using Composer and Retrofit is available and working!
composer require retrofit-drupal/retrofit
And that's it! 🎉
How it works
This library registers a service provider to integrate with Drupal automatically. No extra configuration is needed. Once Retrofit has been added to your Drupal code base it will automatically provide backward compatibility layers for you.
Support
If you would like free and public support, open a Discussion. You can also join the #retrofit channel on Drupal Slack as well.
If you would like paid and private support, contact Matt Glaman directly. Opportunities for paid private support are coming.
Usage
Currently, the compatibility layers are drop-in replacements. This means you can use them in your code without any changes. Some functions are namespaced for compatibility.
Get started with Retrofit for Drupal