Download the PHP package freesoftwarefactory/crm-yii without Composer
On this page you can find all versions of the php package freesoftwarefactory/crm-yii. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download freesoftwarefactory/crm-yii
More information about freesoftwarefactory/crm-yii
Files in freesoftwarefactory/crm-yii
Package crm-yii
Short Description A Micro CRM for a Yii Framework Application
License MIT
Informations about the package crm-yii
FREESOFTWAREFACTORY/CRM
Setup Instructions:
-
Install mysql tables:
mysql <databasename> < /ruta/al/repo/vendor/freesoftwarefactory/crm/mysql.schema.sql
-
Install the Console Commands:
cd /bla/my-app/commands ln -s ../freesoftwarefactory/crm/console/CrmController.php .
-
Install the Controller:
cd /bla/my-app/controllers ln -s ../freesoftwarefactory/crm/web/CrmController.php .
-
Setup files:
// copy files cp /bla/my-app/vendor/freesoftwarefactory/crm/crm-config.php bla/my-app/config // reflect it in 'components' section config/console.php, config/web.php 'crm' => require(__DIR__.'/crm-config.php'),
Config Crm Fields
Here you define all the crm fields. Copy this file into your config/ path, as:
/your/app/config/crm-config.php
register it in your components section inside web.php and console.php:
'crm' => require(__DIR__.'/crm-config.php'),
Example setup file:
Contact Widget
This widget is designed to find/edit/create contacts, it has two modalities: 'finder' or 'browser'.
-
The 'finder' modality helps you pick one contact and select into a existing text input (a hidden input, as an example).
- The 'browser' modality will present contacts using a 'checkbox' selector.
Customize Contact Widget using Events Handlers
The contact widget fires some events to help you take desitions in you own implementation, just add this code snippets:
API
Use the api methods via:
\Yii::$app->crm
Console Access
Handle all contacts and relationships using a Console:
./yii crm