Roskus / prospero-flow-crm

Prospero Flow CRM CE (Community Edition) bassed in Laravel 10, multilingual, multi company.

Home Page:https://prosperoflow.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prospero Flow CRM

We made a free open source CRM. Our Community Edition (CE)

  • Prospero Flow CRM is based in Laravel 10

Requirements

  • PHP >= 8.3
  • composer
  • Laravel 10
  • MariaDB / Postgres / MS SQL Server
  • Redis

Features

  • Multi company (White label)
  • Multi language
  • REST API

Quality Gate Status

Setup

Clone the project:

git clone git@github.com:Roskus/prospero-flow-crm.git

Migrate from hammer to prospero-flow-crm repo

git remote set-url origin git@github.com:Roskus/prospero-flow-crm.git

Docker Setup in 1 command

make install

Setup docker

docker-compose -f docker-compose.yml -f docker-compose.mysql.yml -f docker-compose.pma.yml build
docker-compose -f docker-compose.yml -f docker-compose.mysql.yml -f docker-compose.pma.yml up -d

or

make build
make up

With Postgres

make build-pg
make up-pg

With MS SQL Server

make build-ms
make up-ms

Enter inside the container

docker exec -it crm-php /bin/bash

or

make ssh

Copy template config

cp .env.example .env

Edit your .env config file and set language, database

DB_PASSWORD=

Install dependencies:

composer install

Generate your APP_KEY

php artisan key:generate

Run migrations and seeders

php artisan migrate
php artisan db:seed

Generate JWT Secret

php artisan jwt:secret

Set Crontab

crotab -e
* * * * * cd /home/ubuntu/www/crm && php artisan schedule:run >> /dev/null 2>&1

Demo

API

We will provide a REST API for exchange information with the CRM

API Docs http://prosperoflow.localhost/api/documentation

Regenerate documentation

php artisan l5-swagger:generate

Endpoint: /api

Some API Endpoint for the full list check the doc:

Method Endpoint Description
POST /api/auth User auth
GET /api/lead Get all leads
GET /api/lead/{id} Get lead detail
POST /api/lead Create new lead
PUT /api/lead/{id} Update existing lead
DELETE /api/lead/{id} Delete a lead
GET /api/customer Get all customers
POST /api/customer Create new customer
GET /api/product Get all products
POST /api/product Create new product
GET /api/order Get all orders
GET /api/supplier Get all suppliers
GET /api/ticket Get all tickets
GET /api/ticket/{id} Get existing ticket
POST /api/ticket Create support ticket

Run tests

make test

Translation (i18n)

Check missing translation keys

php artisan translations:check --excludedDirectories=lang/vendor

PHPStan

Code quality check, find bugs

vendor/bin/phpstan analyse app tests

Resources

Icon font Line Awesome https://icons8.com/line-awesome

About

Prospero Flow CRM CE (Community Edition) bassed in Laravel 10, multilingual, multi company.

https://prosperoflow.com

License:MIT License


Languages

Language:PHP 56.4%Language:Blade 41.9%Language:JavaScript 1.1%Language:Dockerfile 0.2%Language:CSS 0.2%Language:Makefile 0.1%Language:Shell 0.1%