Title: Component or PHP plugin?
Last modified: July 14, 2024

---

# Component or PHP plugin?

 *  Resolved [roelof](https://wordpress.org/support/users/roelof/)
 * (@roelof)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/)
 * Helllo
 * I have found this challenge
 * `Task: Customize the default login form that you get with WordPress with more
   fields and a different style. `
 * `Requirements: `
 * `Create a plugin for the customization, `
 * `Use hooks to enqueue styles conditionally on the login page `
 * `Use the hooks to add a new field: Reverse username `
 * `Before logging the user, check if the reverse username field is entered and 
   check if it's correctly entered If not, display a message that such field is 
   not correct`
 * Am i on the right track that this can better be a php plugin instead of a component
   plugin ?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/#post-17888514)
 * I don’t know what you mean by component and what you mean by PHP plugin. If you
   want to customize something in WordPress, you do that with a WordPress plugin.
   This is written in PHP. The manual offers an introduction to this: [https://developer.wordpress.org/plugins/](https://developer.wordpress.org/plugins/)
 *  Thread Starter [roelof](https://wordpress.org/support/users/roelof/)
 * (@roelof)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/#post-17888526)
 * Thanks,
 * With a component I mean a gutenberg component.
 * I thought already to use PHP because with a gutenberg component , There are a
   lot of files I never would use.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/#post-17888536)
 * It is entirely up to you whether and how you develop and use your own Gutenberg
   components. However, you will also need a WordPress plugin to integrate them 
   in your WordPress.
 *  Thread Starter [roelof](https://wordpress.org/support/users/roelof/)
 * (@roelof)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/#post-17888541)
 * Oke,
 * I think I go then for a PHP plugin and study a lot.
   And find a nice layout.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Component or PHP plugin?’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 4 replies
 * 2 participants
 * Last reply from: [roelof](https://wordpress.org/support/users/roelof/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/component-or-php-plugin/#post-17888541)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
