deegitalbe / trustup-pro-admin-common
This package contains pieces of code that are shared between 'admin.trustup.pro' and 'trustup.pro'.
Installs: 971
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/deegitalbe/trustup-pro-admin-common
Requires
- deegitalbe/chargebee-client: ^1.17
 - deegitalbe/chargebee-php: ^3.1
 - deegitalbe/server-authorization: ^1.1
 - deegitalbe/trustup-versioned-package: ^1.0
 - henrotaym/laravel-api-client: ^1.0
 - henrotaym/laravel-model-queries: ^1.0
 - henrotaym/laravel-package-versioning-config: ^1.3
 - henrotaym/laravel-test-suite: ^2.0
 - jenssegers/mongodb: ^3.8
 
Requires (Dev)
- orchestra/testbench: ^6.0
 - phpunit/phpunit: ^9.5
 
- dev-main
 - v6.1.0
 - v6.0.1
 - v6.0.0
 - v6.0.0-alpha.10
 - v6.0.0-alpha.9
 - v6.0.0-alpha.8
 - v6.0.0-alpha.7
 - v6.0.0-alpha.6
 - v6.0.0-alpha.5
 - v6.0.0-alpha.4
 - v6.0.0-alpha.3
 - v6.0.0-alpha.2
 - v6.0.0-alpha.1
 - v6.0.0-alpha.0
 - v5.3.0-alpha.0
 - v5.2.2
 - v5.2.2.alpha.2
 - v5.2.2.alpha.1
 - v5.2.1
 - v5.2.0
 - v5.2.0-alpha.1
 - v5.2.0-alpha.0
 - v5.1.2-alpha.1
 - v5.1.2-alpha.0
 - v5.1.1
 - v5.1.1-alpha.1
 - v5.1.1-alpha.0
 - v5.1.0
 - v5.1.0-alpha.0
 - v5.0.0
 - v5.0.0-alpha.15
 - v5.0.0-alpha.14
 - v5.0.0-alpha.13
 - v5.0.0-alpha.12
 - v5.0.0-alpha.11
 - v5.0.0-alpha.10
 - v5.0.0-alpha.9
 - v5.0.0-alpha.8
 - v5.0.0-alpha.7
 - v5.0.0-alpha.6
 - v5.0.0-alpha.5
 - v5.0.0-alpha.4
 - v5.0.0-alpha.3
 - v5.0.0-alpha.2
 - v5.0.0-alpha.1
 - v5.0.0-alpha.0
 - v4.8.6
 - v4.8.5
 - v4.8.5-alpha.0
 - v4.8.4
 - v4.8.3
 - v4.8.2
 - v4.8.1
 - v4.8.0
 - v4.7.1-alpha.15
 - v4.7.1-alpha.14
 - v4.7.1-alpha.13
 - v4.7.1-alpha.12
 - v4.7.1-alpha.11
 - v4.7.1-alpha.10
 - v4.7.1-alpha.9
 - v4.7.1-alpha.8
 - v4.7.1-alpha.7
 - v4.7.1-alpha.6
 - v4.7.1-alpha.5
 - v4.7.1-alpha.4
 - v4.7.1-alpha.3
 - v4.7.1-alpha.2
 - v4.7.1-alpha.1
 - v4.7.1-alpha.0
 - v4.7.0
 - v4.6.2-alpha.0
 - v4.6.1
 - v4.6.1-alpha.0
 - v4.6.0
 - v4.5.9
 - v4.5.8
 - v4.5.7
 - v4.5.6
 - v4.5.5
 - v4.5.4
 - v4.5.3
 - v4.5.2
 - v4.5.1
 - v4.5.0
 - v4.4.2
 - v4.4.1
 - v4.4.0
 - v4.3.4
 - v4.3.3
 - v4.3.2
 - v4.3.1
 - v4.3.0
 - v4.2.4
 - v4.2.3
 - v4.2.2
 - v4.2.0
 - v4.1.0
 - v4.0.0
 - v3.4.3
 - v3.4.2
 - v3.4.1
 - v3.4.0
 - v3.3.1
 - v3.3.0
 - v3.2.5
 - v3.2.4
 - v3.2.3
 - v3.2.2
 - v3.2.1
 - v3.2.0
 - 3.1.3
 - v3.1.2
 - v3.1.1
 - v3.1.0
 - v3.0.0
 - v2.8.2
 - v2.8.1
 - 2.8.0
 - v2.7.2
 - v2.7.1
 - v2.7.0
 - v2.6.0
 - 2.5.3
 - 2.5.2
 - 2.5.1
 - 2.5.0
 - v2.4.1
 - v2.4.0
 - v2.3.0
 - v2.2.4
 - v2.2.3
 - v2.2.2
 - v2.2.1
 - v2.2.0
 - v2.1.0
 - v2.0.1
 - v2.0.0
 - v1.2.0
 - v1.1.1
 - v1.1.0
 - v1.0.1
 - v1.0.0
 - dev-feature/trustup-pro-pack-plan-support
 - dev-issue-28-Show_different_status_for_freemium_and_filter_accounts
 - dev-issue-26-Stop_deleting_account_chargebee_when_not_needed_losing_custom_pause_threshold_every_single_time
 - dev-issue-24-Changing_account_chargebee_plan_from_monthly_to_annually_billed
 - dev-issue-22-Migrate_mongo_models_to_mysql_database
 - dev-feature/reaching_api_rate_limit_log
 - dev-issue-20-Hotfix_account_creation_failing
 - dev-issue-18-Account_unpaid_invoices_implementation
 - dev-issue-16-Professional_activated_at_field
 - dev-issue-14-Handling_activated_at_&_is_active_professional_columns
 - dev-hotfix/app_accounts_not_cancelled_directly_when_created
 - dev-issue-12-Add_Contact_app_key
 - dev-issue-9-account_chargebee_id_might_be_null
 - dev-issue-5-use_Versioned_app_package_to_check_versions
 - dev-issue-7-Use_professionals_table_column_salesman_id_for_salesmen
 - dev-issue-3-🐛_Belongs_to_typeint_typo_in_account
 - dev-issue-1-Export_common_models_to_package
 
This package is auto-updated.
Last update: 2025-10-16 15:32:22 UTC
README
Via composer
composer require deegitalbe/trustup-pro-admin-common
Configuration
Install command
Execute this command to install package and publish configuration.
php artisan trustup_pro_admin_common:install
You will then have access to config/trustup_pro_admin_common.php that you have to configure properly.
Default configuration
Implements professional model interface
Your professional model should implements this interface
Deegitalbe\TrustupProAdminCommon\Contracts\Models\ProfessionalContract
Use default professional model trait
You can use this trait in your professional model
Deegitalbe\TrustupProAdminCommon\Models\Traits\ProfessionalModel
Custom configuration
Implements interface
Same step as default configuration step
Define interface methods yourself
/**
 * Getting professional id.
 * 
 * @return int
 * 
 */
public function getId(): int;
/**
 * Getting professional authorization key.
 * 
 * @return string
 * 
 */
public function getAuthorizationKey(): string;
/**
 * Persisting instance.
 * 
 * @param array $options
 */
public function persist(array $options = []);