Upgrade Krayin CRM from v2.1 to v2.2
2.2When upgrading to Krayin CRM v2.2, ensure your environment meets the new PHP requirement.
Requirement Change:
- PHP Version: You must use PHP 8.3 or greater.
repository·2.2·Indexed 30 days ago
https://github.com/krayin/laravel-crmAn open-source CRM framework built on Laravel and Vue.js for SMEs and Enterprises. Features include modular architecture, custom attributes, lead management with AI-driven creation, activity scheduling, mail modules with IMAP support, and a customizable admin dashboard. Supports OpenRouter API for Magic AI integration and provides tools for data transfer, inventory management, and marketing automation.
When upgrading to Krayin CRM v2.2, ensure your environment meets the new PHP requirement.
Requirement Change:
To install Krayin CRM, create a new project using Composer and then run the built-in installation command.
composer create-project krayin/laravel-crm.env file in the root directory.APP_URL to your domain.Mail and Database parameters.php artisan krayin-crm:installTo run the application on your local machine:
php artisan route:clear
php artisan serveBefore deploying to production, it is recommended to remove developer dependencies to optimize the installation:
composer install --no-devOnce installed, you can log in to the admin panel at http(s)://your-domain.com/admin/login using:
admin@example.comadmin123Krayin CRM v2.2 has upgraded to Laravel 12. This version introduces stricter type checking and modernized date/time handling. If you have customized the core Laravel structure, you must adapt to the following architectural changes:
bootstrap/app.php now uses the Application::configure() builder pattern.bootstrap/providers.php instead of config/app.php.providers and aliases arrays have been removed from config/app.php.app/Http/Kernel.php and app/Console/Kernel.php are removed.bootstrap/app.php.routes/console.php.app/Exceptions/Handler.php is removed. Configure exception handling in bootstrap/app.php.AuthServiceProvider, EventServiceProvider, RouteServiceProvider, and BroadcastServiceProvider are removed. Move their logic to bootstrap/app.php or AppServiceProvider.EncryptCookies, VerifyCsrfToken, TrimStrings, and TrustProxies are removed. Customizations must now be performed via bootstrap/app.php.doctrine/dbal dependency is no longer required as Laravel 12 supports native column modification.Before installing Krayin CRM, ensure your server meets the following system requirements. The installer checks for these PHP extensions and configurations:
calendarctypecurldomfileinfofiltergdhashintljsonmbstringopensslpcrepdosessiontokenizerxmlKrayin CRM uses vee-validate for form validation. The application pre-registers all standard validation rules from @vee-validate/rules and configures global behavior.
Key configurations include:
@vee-validate/rules are registered via defineRule.blur, input, and change events.phone field is provided as an example of how to extend the default English locale.VForm (from Form)VField (from Field)VErrorMessage (from ErrorMessage)The Magic AI settings in the Korean locale include the following configuration options:
enable (사용)api-key-info (Notes that each model requires an OpenRouter API key for security and performance).models (모델) includes presets like:deepseek-r1: Deepseek R1 Distill-llama-8bgemini-2-0-flash-001: Gemini 2.0 flash-001gpt-4o: GPT-4.0gpt-4o-mini: GPT-4.0 minigrok-2-1212: Grok 2.12llama-3-2-3b-instruct: Llama 3.2 3b Instructother-model (다른 모델을 사용하려면 OpenRouter의 모델 ID를 입력하세요.)doc-generation (DOC 생성) allows extracting data from DOC files into text format.Krayin CRM allows you to configure email settings for the application, specifically IMAP settings for receiving emails. You must provide the following IMAP account details:
The Admin dashboard menu and branding can be customized via settings:
You can manage the names of various menu items including activities, configuration, contacts, dashboard, draft, inbox, leads, mail, organizations, persons, products, quotes, sent, settings, trash, and outbox.
Change the color of the menu items via brand-color settings.
Configure the text displayed in the 'Powered by' section of the footer.
deepseek-r1, gemini-2-0-flash-001, gpt-4o, gpt-4o-mini, grok-2-1212, or llama-3-2-3b-instruct), or specify an other-model using a Model ID from OpenRouter. Additionally, you can enable doc-generation to automatically extract data from DOC files and convert them into text format.You can customize the Admin panel's visual identity and language settings:
Define the user interface language (e.g., ar for Arabic, en for English, es for Spanish, fa for Persian, or tr for Turkish).
Ensure your environment meets the following minimum requirements: