CRM with Material Design and Laravel

All in one Business Management System


Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

You will get 4 files. 
(i). crm - which one included all files for admin view.

(ii). crm-client - which one included all files for public/client view.

(iii) documentation - Which one included documenation files.

(iv) crm.sql - Database file for CRM Application

1. Copy your crm files in your website domain/sub domain root directory.

2. Rename .env.example file with .env file.

3. Generate new security key with this command:

php artisan key:generate

If you don't have any console/command access, use your custom key code like 

APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:V7hQRCAeOPEYTPeOIkAmz/EwbaC+X6rlP817uZxDa8Q=

4. Create a databse for setup CRM.

5. Import crm.sql file in your database.

6. Setup your database, database username and database password in .env file.

DB_DATABASE=database_name
DB_USERNAME=database_username
DB_PASSWORD=database_password

7. Now enter your target website in your browser like: http://yoursite.com
You will get now login page like that.

8. Now Login with these credential intaially:

username: robinsabbir@gmail.com

password: robinsabbir@gmail.com

Use Same way to install public/client view, just install it in different directory. Use same database configuration also. 

APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:V7hQRCAeOPEYTPeOIkAmz/EwbaC+X6rlP817uZxDa8Q=

DB_DATABASE=database_name
DB_USERNAME=database_username
DB_PASSWORD=database_password
 
Now go to your website where you put the CRM public view's files like if your main website link http://yoursite.com and your client view's file installed in client subdomain then go to : http://client.yoursite.com

CRM client/public view will look like this:

Intialization

First of all our application build with Laravel MVC Structure. Coding standard is so many easy that any laravel developer can understand.

 

Controller

We have total 22 controllers and these controller manage specific topics of this application.

Controller Structure


Directory:
crm\app\Http\Controllers

 /*
     * Article Main Page
     */
    public function index()
    {
        $title = "All Article List";
        $articles = Article::with('category')->get();
        return view('article.index', compact('title', 'articles'));
    }

    /*
     * Get FAQ List
     */
    public function faqGet(){
        $title = "All Faq List";
        $faqs = Faq::with('category')->get();
        return view('faq.index', compact('title', 'faqs'));
    }

    public function faqAddGet(){
        $title = "Add a new faq item";
        $categories = DB::table('faq_categories')->pluck('name', 'id');
        return view('faq.add', compact('title', 'categories'));
    }

Model

We have total 28 models in this application. Every model define table and table structure for this application.

Directory:
crm\app

Global Configuration

For Global configuration like PDF, Email, Payment - All of these configuration you will find in this directory:

crm\config

View/Template Directory

For view/template please go to this directory:

crm\resources\views

There have a folder name 'prod'. In this folder you will get production output files of view/template.

To make your view file production just use this command

gulp --production

To use these production files change the view configuration from this file

crm\config\view.php

'paths' => [
          realpath(base_path('resources/views')),
//      realpath(base_path('resources/views/prod')),
    ],

Remove comment from last one and comment first one to use production output file.

We are upgrading this application day by day and making easy to use this application. So if you found any error please just send a message, we will fix up and reply back to you soon.

For any type of help to setup application or understanding coding structure just feel free to contact with us.
You can message with this email address:
crm.w3bd@gmail.com

 

Thank You !