inxuro is a CRM for insurance sales agents built on open-source technologies such as Laravel, Vue.js, Tailwind.
- PHP 8.0.2 or higher
- MySQL Database
$ composer install
$ npm install
$ npm run dev
$ php artisan migrate
$ php artisan db:seed
Create sample data (optional)
$ php artisan db:demo
Kindly ensure your commit messages and pull requests are descriptive; pull requests with blank messages might be declined without further explanation.
When adding code to inxuro, adhere to the PSR coding guidelines. The guiding principle is: Imitate the existing inxuro coding style.
Be aware that this project comes with a Contributor Code of Conduct. Engaging in this project means you accept its conditions.
For recent changes, kindly refer to the Releases section.
Please review our security policy on how to report security vulnerabilities.
inxuro is released under the BSL license.
You need to create a separate MySQL database for running tests.
Take note of these configurations in phpunit.xml
:
<env name="APP_ENV" value="testing"/>
<env name="DB_CONNECTION" value="mysql"/>
<env name="DB_DATABASE" value="test_db"/>
CREATE DATABASE test_db;
Also create a .env.testing
file and set these variables:
APP_ENV=testing
DB_DATABASE=test_db
You can seed your test database by including --env=testing
flag
$ php artisan migrate --env=testing
$ php artisan db:seed --class=StaticDataSeeder --env=testing
Run all tests
$ php artisan test
Run tests in a specific directory
$ php artisan test --filter=Policies
or
$ vendor/bin/phpunit --filter Policies
Visit our live Demo
Each User
belongs to exactly one Team
.
Teams can be thought of as sales channels. Insurance companies distribute their products through sales channels such as insurance agents, insurance brokerages, and direct sales.
A Team
can be any of the following:
Type | description |
---|---|
Brokerage | represents multiple insurance companies |
Agency | represents one insurance company and its products |
TII | |
Price Aggregator | |
Direct | the insurance company itself |
A person can either be a natural person (i.e., an individual human being) or a juridical person (e.g., corporation, government, or charity).
The following stakeholders are all stored in the persons
table:
Person | created by user |
---|---|
policyholder | sales agent |
damaged party | claims adjuster |
An insurance policy