-
|
Composer is not an option for me. Can I still use Smarty 4? If so, how? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello, Use composer to download packaged sources as a independent dependencies, and keep a copy of those sources in your source repository. This way you can decouple the update from each dependency and lock the versions separately. The downside is that you have to keep a list of dependencies and their version by hand, and the code will be bigger. I do this for many projects without any inconvenience. Regards, |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps I'm late to the discussion, but I recently stumbled upon a similar problem. I decided to package Smarty into a separate If you're interested, take a look at: https://github.com/3n9/SmartyPHAR. I take no credit for the work, as the batch file was mostly generated by AI and the Smarty source belongs to its developers. |
Beta Was this translation helpful? Give feedback.
Hello,
Use composer to download packaged sources as a independent dependencies, and keep a copy of those sources in your source repository.
This way you can decouple the update from each dependency and lock the versions separately.
The downside is that you have to keep a list of dependencies and their version by hand, and the code will be bigger. I do this for many projects without any inconvenience.
Regards,