Composer install puts the plugin in a directory called "wordpress"

Open
#945 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, wordpress

Research direction

Start with the Composer install steps in the README and inspect how the package name determines the plugin directory. Determine a suitable Auth0-containing package name and verify that installation places the plugin in the intended directory without breaking the documented setup.

Written by the indexing model from the issue text.

Description

Checklist
  • I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.
Description

The composer package name is auth0/wordpress, which is logical but it means you end up with a directory called "wordpress" in the plugins directory containing this plugin.

I know it's a pain but ideally this package would have auth0 somewhere in the name as well as the namespace. I can work around it for now I think so not an urgent one but worth flagging.

Reproduction
  1. Follow composer install steps in the readme in this repo
Additional context

No response

wp-auth0 version

5

WordPress version

6.9

PHP version

8.4

Dominant language
PHP
Stars
182
Forks
103
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from auth0/wordpress

All issues in auth0/wordpress

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.