66[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/1946e83f51de4a0eb430a8e0a1aab3cf )] ( https://app.codacy.com/gh/venturedrake/laravel-crm?utm_source=github.com&utm_medium=referral&utm_content=venturedrake/laravel-crm&utm_campaign=Badge_Grade_Settings )
77[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/venturedrake/laravel-crm.svg?style=flat-square )] ( https://packagist.org/packages/venturedrake/laravel-crm )
88
9- This package will add CRM functionality to your laravel projects
9+ The free 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.
1010
1111> ⚠️ Warning: This is a pre-release version that is not recommended for production use.
1212
@@ -24,12 +24,12 @@ This package will add CRM functionality to your laravel projects
2424 - Sales leads management
2525 - Deal management
2626 - Contact database management
27- - Products
27+ - Products & Product Categories
2828 - Users & Teams
2929 - Secure registration & login
30- - Reset forgotten password
3130 - Laravel Jetstream/Spark teams support
32- - Team level roles & permissions
31+ - Roles & Permissions thanks to [ Spatie Permissions] ( https://github.com/spatie/laravel-permission )
32+ - Model Audit logging thanks to [ Laravel Auditing] ( https://github.com/owen-it/laravel-auditing )
3333
3434## Requirements
3535
@@ -51,32 +51,18 @@ https://laravel.com/docs/6.x/authentication
5151#### Step 3. Require the current package using composer:
5252
5353``` bash
54- composer require venturedrake/laravel-crm:^0.8
54+ composer require venturedrake/laravel-crm:^0.9
5555```
5656
57- #### Step 4. Install spatie roles & permissions package
58-
59- https://spatie.be/docs/laravel-permission/v4/installation-laravel
60-
61- Adjust the settings in app/config/permission.php to the following:
62-
63- ``` php
64- 'permission' => VentureDrake\LaravelCrm\Models\Permission::class
65- 'role' => VentureDrake\LaravelCrm\Models\Role::class,
66- ```
67-
68- If you are using the teams feature, follow this additional step:
69- https://spatie.be/docs/laravel-permission/v5/basic-usage/teams-permissions
70-
71- #### Step 5. Publish the migrations, config & assets
57+ #### Step 4. Publish the migrations, config & assets
7258
7359``` bash
7460php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" migrations"
7561php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" config"
7662php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" assets" --force
7763```
7864
79- #### Step 6 . Update the various config settings in the published config file:
65+ #### Step 5 . Update the various config settings in the published config file:
8066
8167After publishing the package assets a configuration file will be located at <code >config/laravel-crm.php</code >
8268
@@ -110,19 +96,19 @@ Route::middleware(['auth:sanctum', 'verified'])->get('/dashboard', function () {
11096})->name('dashboard');
11197```
11298
113- #### Step 7 . Run migrations:
99+ #### Step 6 . Run migrations:
114100
115101``` bash
116102php artisan migrate
117103```
118104
119- #### Step 8 . Run database seeder:
105+ #### Step 7 . Run database seeder:
120106
121107``` bash
122108php artisan db:seed --class=" VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
123109```
124110
125- #### Step 9 . Add the HasCrmAccess, HasCrmTeams & HasRoles traits to your User model(s):
111+ #### Step 8 . Add the HasCrmAccess, HasCrmTeams & HasRoles traits to your User model(s):
126112
127113``` php
128114use Illuminate\Foundation\Auth\User as Authenticatable;
@@ -139,7 +125,7 @@ class User extends Authenticatable
139125 // ...
140126}
141127```
142- #### 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
128+ #### Step 9 . 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
143129
144130Access the crm to register/login at http://your-project-url/crm
145131
@@ -152,8 +138,9 @@ Note if you modified the route_prefix setting from the default the above url wil
152138#### Step 1. Run the following to the update migrations and publish assets:
153139
154140``` bash
155- composer require venturedrake/laravel-crm::^0.6
141+ composer require venturedrake/laravel-crm::^0.9
156142php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" migrations"
143+ php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" config"
157144php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" assets" --force
158145php artisan migrate
159146```
@@ -169,23 +156,17 @@ php artisan db:seed --class="VentureDrake\LaravelCrm\Database\Seeders\LaravelCrm
169156#### Step 1. Run the following to the update package:
170157
171158``` bash
172- composer require venturedrake/laravel-crm:^0.6
173- ```
174-
175- #### Step 2. Delete previously published package views located in <code >resources/views/vendor/laravel-crm/* </code >
176-
177- #### Step 3. Install and set up spatie roles & permissions package, see install step 3.
178-
179- #### Step 4. Add HasCrmAccess, HasCrmTeams & HasRoles traits to App\User model, see installation Step 8.
180-
181- #### Step 5. Run the following to the update database and add the default roles/permissions:
182- ``` bash
159+ composer require venturedrake/laravel-crm::^0.9
183160php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" migrations"
161+ php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" config"
184162php artisan vendor:publish --provider=" VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag=" assets" --force
185163php artisan migrate
186- php artisan db:seed --class=" VentureDrake\LaravelCrm\Database\Seeders\LaravelCrmTablesSeeder"
187164```
188165
166+ #### Step 2. Delete previously published package views located in <code >resources/views/vendor/laravel-crm/* </code >
167+
168+ #### Step 3. Add HasCrmAccess, HasCrmTeams & HasRoles traits to App\User model, see installation Step 8.
169+
189170<!-- - ## Usage --->
190171
191172## Testing
0 commit comments