Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving toward Joomla >4 #154

Open
cappuccinonet opened this issue Aug 14, 2023 · 4 comments
Open

Moving toward Joomla >4 #154

cappuccinonet opened this issue Aug 14, 2023 · 4 comments

Comments

@cappuccinonet
Copy link

I love com_api! I would use it for a large project but do not know how future proof it will be.
Are there any plans to embrace namespaces and service providers, which seems to be mandatory in Joomla 6 (2025)?
More information on this topic can be found here:
https://www.dionysopoulos.me/book/plg.html#plg-forms-j4-classic

@cappuccinonet
Copy link
Author

Has anybody tested com_api with Joomla 5 already?

@MarcelSchuermann
Copy link

MarcelSchuermann commented Jan 2, 2025

Unfortunatly no. Do you have any news how to migrate to J5 or is there maybe an other approach @cappuccinonet?

Anyone testet the J4 branch from @vaibhavsTekdi?
Anyone has played around with the new web services API? Is this a possible solution?

Joomla 4 branch (from @vaibhavsTekdi)
https://github.com/techjoomla/com_api/tree/j4x

J4 Core APIs
https://docs.joomla.org/J4.x:Joomla_Core_APIs

J4 adding API to a component
https://docs.joomla.org/J4.x:Adding_an_API_to_a_Joomla_Component/en

J4 API (Token auth merge):
joomla/joomla-cms#27021

Web services API:
https://magazine.joomla.org/all-issues/march-2023/playing-with-the-joomla-api-part-1

An example of J4 authentication plugin on official Joomla page
https://docs.joomla.org/J4.x:Creating_an_Authentication_Plugin_for_Joomla

@MarcelSchuermann
Copy link

Maybe switching to another approach is the right way to go?

Plugin custom api for joomla
https://extensions.joomla.org/extension/custom-api-for-joomla/

@cappuccinonet
Copy link
Author

cappuccinonet commented Jan 2, 2025

@MarcelSchuermann I ended up creating a Joomla component and a Joomla web service plugin for all my APIs. Checkout https://docs.joomla.org/J4.x:Adding_an_API_to_a_Joomla_Component and https://www.dionysopoulos.me/book/com-api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants