Stars: 144
Forks: 47
Pull Requests: 19
Issues: 22
Watchers: 12
Last Updated: 2023-09-14 01:28:39
Open Source Laravel CRM Package
License: MIT License
Languages: PHP, Blade, JavaScript, SCSS
The free Laravel CRM you have been looking for, this package will add CRM functionality to your laravel projects or can be used as a complete standalone CRM built with Laravel.
⚠️ Warning: This is a pre-release version that is not recommended for production use just yet.
https://demo.laravelcrm.com/register
If you want to get up and running quickly with a complete Laravel CRM please go to the laravel-crm-starter project.
If you prefer to install Laravel CRM into your own Laravel application, please follow the installation steps below.
https://laravel.com/docs/installation
https://laravel.com/docs/authentication
composer require venturedrake/laravel-crm
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="config"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets" --force
After publishing the package assets a configuration file will be located at config/laravel-crm.php
Please read the comments in this file for each setting. Most can be left as the default, however you will need to update the "CRM Owner" setting to access the CRM initially.
Please note if you set the route_prefix to blank or null you will need to update the default routes/web.php
file. All the crm routes are managed by the package, so it should look just as per below after removing the default welcome route and redirecting the default /home route to the dashboard.
<?php
use Illuminate\Support\Facades\Route;
Auth::routes();
Route::get('/home', function (){
return redirect('/');
});
<?php
use Illuminate\Support\Facades\Route;
Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () {
return redirect('/');
})->name('dashboard');
php artisan migrate
php artisan db:seed --class="VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
use Illuminate\Foundation\Auth\User as Authenticatable;
use Spatie\Permission\Traits\HasRoles;
use VentureDrake\LaravelCrm\Traits\HasCrmAccess;
use VentureDrake\LaravelCrm\Traits\HasCrmTeams;
use Lab404\AuthChecker\Models\HasLoginsAndDevices;
use Lab404\AuthChecker\Interfaces\HasLoginsAndDevicesInterface;
class User extends Authenticatable implements HasLoginsAndDevicesInterface
{
use HasRoles;
use HasCrmAccess;
use HasCrmTeams;
use HasLoginsAndDevices;
// ...
}
Access the crm to register/login at http://your-project-url/crm
Note if you modified the route_prefix setting from the default the above url will change dependent on that setting.
composer require venturedrake/laravel-crm
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="config"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets" --force
php artisan migrate
php artisan db:seed --class="VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
php artisan laravelcrm:permissions
php artisan laravelcrm:update
composer require venturedrake/laravel-crm
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="config"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets" --force
php artisan migrate
resources/views/vendor/laravel-crm/*
composer test
Please see CHANGELOG for more information what has changed recently.
Participate in the discord community
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.