Download the PHP package mortezamasumi/fb-profile without Composer

On this page you can find all versions of the php package mortezamasumi/fb-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 fb-profile

FB Profile — Edit Profile for Filament

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A Filament panel plugin that adds a configurable profile form to the user menu, with Persian-aware inputs (avatar upload, name, NID, gender, birth date, mobile, email, username) and an Iranian national ID validator.


Features


Installation

Add the plugin to your Filament panel provider:


Configuration

Publish the config file:

Key Default Description
max_avatar_size 200 Max avatar upload size in KB
avatar_disk public Disk for avatar uploads
avatar_visibility public Avatar visibility
avatar_folder /uploads/avatars Avatar upload folder
mobile_required false Require the mobile field
email_required false Require the email field
username_required false Require the username field
nid_required false Require the national ID field
use_passport_number_on_nid false Accept passport numbers instead of NIDs
gender_required false Require the gender field
birth_date_required false Require the birth date field
profile_form_columns 3 Columns in the profile form grid

Usage

Once the plugin is registered, the profile page is available from the user menu. The form reads your user model's columns; the fields are fully optional unless you enable the *_required flags above.

Extending the form

Your user model can add extra fields or replace the whole form:

Iranian NID validation

The iran_nid validation rule validates the Iranian national ID checksum. It is active in production only, and is bypassed when use_passport_number_on_nid is enabled.


Support policy

PHP Laravel
8.3 12

Testing

The test suite covers the user menu entry, profile updates, redirect behaviour, and the Iranian NID validator using an in-memory SQLite database.


Contributing

Please see CONTRIBUTING for details.

Security

If you discover a security vulnerability, please review our security policy on how to report it.

Changelog

Please see CHANGELOG for recent changes.


License

The MIT License (MIT). See LICENSE.md for details.


All versions of fb-profile with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
ariaieboy/filament-jalali Version ^3.0
filament/filament Version ^5.0
mortezamasumi/fb-essentials Version ^5.0
spatie/laravel-package-tools Version ^1.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 mortezamasumi/fb-profile contains the following files

Loading the files please wait ...