Download the PHP package aditya-wiguna/flarum-lock-profile without Composer

On this page you can find all versions of the php package aditya-wiguna/flarum-lock-profile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flarum-lock-profile

Flarum Lock Profile Extension

A Flarum extension that prevents users from editing their profile information, including username, email, bio, and profile picture.

Features

Installation

Manual Installation

  1. Download this extension
  2. Extract it to your Flarum extensions directory: extensions/aditya-wiguna-flarum-lock-profile
  3. Install dependencies:

  4. Enable the extension in your Flarum admin panel

Via Composer (if published)

Usage

Once installed and enabled:

  1. Go to your Flarum admin panel
  2. Navigate to Extensions
  3. Enable "Lock Profile"
  4. Regular users will no longer be able to edit their profile information
  5. Administrators retain full editing capabilities

How It Works

This extension works on two levels:

Frontend (JavaScript)

Backend (PHP)

Customization

Modify Locked Fields

Edit src/Listener/PreventProfileEdit.php and modify the $lockedFields array:

Change Vendor Name

Replace all instances of:

Styling

Modify less/forum.less to customize the appearance of locked elements.

Development

Building Assets

File Structure

Compatibility

Security

This extension provides both frontend UI restrictions and backend API validation to ensure users cannot bypass the restrictions using browser developer tools or direct API calls.

Support

For issues, questions, or contributions, please visit:

License

MIT License - see LICENSE file for details

Credits

Changelog

Version 1.0.0

TODO / Future Enhancements


All versions of flarum-lock-profile with dependencies

PHP Build Version
Package Version
Requires flarum/core Version ^1.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aditya-wiguna/flarum-lock-profile contains the following files

Loading the files please wait ...