2017 © Pedro Peláez
 

library ldc-user-profile

User profile extension for ZfcUser

image

adamlundrigan/ldc-user-profile

User profile extension for ZfcUser

  • Saturday, January 24, 2015
  • by adamlundrigan
  • Repository
  • 4 Watchers
  • 7 Stars
  • 2,334 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 4 Forks
  • 6 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

LdcUserProfile


Latest Stable Version Total Downloads Latest Unstable Version License Build Status Code Coverage Scrutinizer Code Quality, (*1)


What?

LdcUserProfile is an extensible user profile system for ZfcUser. It allows the authenticated user to modify their own account profile., (*2)

How?

  1. Install the Composer package:, (*3)

    composer require adamlundrigan/ldc-user-profile:1.*@stable
    
  2. Enable the module (LdcUserProfile) in your ZF2 application., (*4)

  3. Profit! The user profile page is mounted on the URL path /user/profile by default., (*5)

Show me!

If you're fortunate enough to be on a *nix system with PHP >=5.4 and pdo_sqlite, pop into the demo folder and run the setup script (run.sh). This will build the demo application, install the example profile extension module, and start a webserver. Once that's all done just open your browser and: - Navigate to http://localhost:8080/user/register - Create an account - Navigate to http://localhost:8080/user/profile, (*6)


Changing module configuration

You can override the configuration of LdcUserProfile by copying the dist config file into the config/autoload folder of your ZF2 application and dropping the .dist suffix. Now you can modify the configuration variables within to change the behavior of LdcUserProfile!, (*7)

Disabling editing of fields

Using the configuration override you can specify which fields in each extension are editable. For example, to allow only the user to change their display name and password in the ZfcUser extension you would put this in the ldc-user-profile.global.php.dist file:, (*8)

'validation_group_override' => array(
    'zfcuser' => array(
        'display_name
        'password',
        'passwordVerify',
    ),
),

The structure provided to validation_group_override is fed directly into Form::setValidationGroup to enable only the specified form fields., (*9)

Adding custom extensions

The bundled demo module ExtensionModule provides a succinct example of how to implement your own profile extension., (*10)

The Versions

24/01 2015

dev-master

9999999-dev

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

24/01 2015

1.2.1

1.2.1.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

22/12 2014

1.2.0

1.2.0.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

14/12 2014

1.1.4

1.1.4.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

13/12 2014

1.1.3

1.1.3.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

13/08 2014

1.1.2

1.1.2.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

30/07 2014

1.1.1

1.1.1.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

30/07 2014

1.1.0

1.1.0.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

12/07 2014

dev-feature/eventmanager

dev-feature/eventmanager

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

27/06 2014

1.0.2

1.0.2.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

27/06 2014

1.0.1

1.0.1.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

27/06 2014

1.0.0

1.0.0.0

User profile extension for ZfcUser

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires