Download the PHP package lcharette/uf_userprofile without Composer

On this page you can find all versions of the php package lcharette/uf_userprofile. 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 uf_userprofile

Custom User Profile Field Sprinkle for UserFrosting 4

Donate Latest Version UserFrosting Version Build Codecov StyleCI

This Sprinkle makes it easy to add any custom fields to the user or group model. Simply create a new schema in you own sprinkle and you're done. Your new profile fields will be automatically integrated in the default UserFrosting interface.

Help and Contributing

If you need help using this sprinkle or found any bug, feels free to open an issue or submit a pull request. You can also find me on the UserFrosting Chat most of the time for direct support.

Installation

Edit UserFrosting app/sprinkles.json file and add the following to the require list : "lcharette/uf_userprofile": "^3.0.0". Also add FormGenerator and UserProfile to the base list. For example:

Run composer update then php bakery bake to install the sprinkle.

Usage

To add a custom profile fields to any user, you simply add a FormGenerator compliant schema containing the form key as well as the traditional validation schema. The rest is generated by this Sprinkle.

For example, you can add the following to a schema/userProfile/myFields.json file inside your sprinkle to add a location, occupation and gender user field. With the associated locale keys, that's all you have to do to add a new user field to your UserFrosting setup.

Note that the schema must be saved inside the schema/userProfile/ directory of your sprinkle to be picked up automatically by the system. You might also want to run php bakery clear-cache command from the UserFrosting root since those fields are stored in cache for better performances.

You can also specify groups custom fields by saving any schema in the the schema/groupProfile/ directory of your sprinkle.

Screenshots

License

By Louis Charette. Copyright (c) 2020, free to use in personal and commercial software as per the MIT license.


All versions of uf_userprofile with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
lcharette/uf_formgenerator Version ^2.1.0 || ^3.0.0 || ^4.0.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 lcharette/uf_userprofile contains the following files

Loading the files please wait ....