This package will add CRM functionality to your laravel projects
⚠️ Warning: This is a pre-release version that is not recommended for production use.
- Use as a free CRM for your business or your clients
- Build a custom CRM for your business or your clients
- Use as an integrated CRM for your Laravel powered business (Saas, E-commerce, etc)
- Use as a CRM for your Laravel development business
- Run a multi-tenant CRM Saas business
- Dashboard
- Sales leads management
- Deal management
- Contact database management
- Products
- Users & Teams
- Secure registration & login
- Reset forgotten password
- Laravel Jetstream/Spark teams support
- Team level roles & permissions
https://laravel.com/docs/6.x#installation
https://laravel.com/docs/6.x/authentication
https://spatie.be/docs/laravel-permission/v4/installation-laravel
composer require venturedrake/laravel-crm:^0.6
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 view('dashboard');
})->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;
class User extends Authenticatable
{
use HasRoles;
use HasCrmAccess;
use HasCrmTeams;
// ...
}
Step 10. Register at least one user and log in or if you already have a user login with the crm owner you set in step 5
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::^0.6
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets" --force
php artisan migrate
php artisan db:seed --class="VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
composer require venturedrake/laravel-crm:^0.6
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets" --force
php artisan migrate
php artisan db:seed --class="VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
composer test
Please see CHANGELOG for more information what has changed recently.
- Products
- Notes
- Tasks
- Files / Documents
- Calendar (Calls, Meetings, Reminders)
- Dashboard
- Custom Fields
- Activity Feed / Timelines
- CSV Import / Export
Participate in the discord community
Please see CONTRIBUTING for details.
If you discover any security related issues, please email andrew@venturedrake.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.