Replies: 2 comments 2 replies
-
For someone storing raw
If you prefer something like;
Thats fine, but you dont need to tell me. 😄 |
Beta Was this translation helpful? Give feedback.
-
Modern PHP development basicly demands composer. While you can get away with doing it all "old school" your just building legacy. I understand why people like "old school" this program uses its own "home grown" HTTP router. But "its wrong" by modern standards and a waste of my time to maintain it, I could be using symfony for routing and have less headaches !(although mine has been "stable enough") |
Beta Was this translation helpful? Give feedback.
-
Due to my opinion, php-lxd is not really necessary to be another dependency here.
All LXD Api needs is a GET,PUT,PATCH,POST over secure curl.
So, you need to read the key, cert, pass the remote server address, request type, api endpoint, which can be defined in one single and very short function to create the curl request and fetch the reply.
Everything else you just pass to that function, if given: data, header.
It has saved me running the composer, GuzzleAdapter, and loading for every action this and that php library, php class ...
Beta Was this translation helpful? Give feedback.
All reactions