Skip to content

Commit 1289701

Browse files
author
angel cruz
committed
It Compiles! 50 Points For Gryffindor.
1 parent 1de263c commit 1289701

File tree

6 files changed

+11
-38
lines changed

6 files changed

+11
-38
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/SECURITY.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [8.0, 7.4]
12+
php: [7.4]
1313
laravel: [8.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
@@ -28,7 +28,7 @@ jobs:
2828
php-version: ${{ matrix.php }}
2929
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
3030
coverage: none
31-
31+
3232
- name: Setup problem matchers
3333
run: |
3434
echo "::add-matcher::${{ runner.tool_cache }}/php.json"

README.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1+
<p align="center">
2+
<img src="simple-crm.png" width="1028">
3+
</p>
4+
15
# simple-crm
26

37
[![Latest Version on Packagist](https://img.shields.io/packagist/v/tepuilabs/simple-crm.svg?style=flat-square)](https://packagist.org/packages/tepuilabs/simple-crm)
48
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/tepuilabs/simple-crm/run-tests?label=tests)](https://github.com/tepuilabs/simple-crm/actions?query=workflow%3ATests+branch%3Amaster)
59
[![Total Downloads](https://img.shields.io/packagist/dt/tepuilabs/simple-crm.svg?style=flat-square)](https://packagist.org/packages/tepuilabs/simple-crm)
610

711

8-
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
9-
10-
## Support us
11-
12-
[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/package-simple-crm-laravel.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/package-simple-crm-laravel)
13-
14-
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
15-
16-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
17-
1812
## Installation
1913

2014
You can install the package via composer:
@@ -30,25 +24,6 @@ php artisan vendor:publish --provider="Tepuilabs\SimpleCrm\SimpleCrmServiceProvi
3024
php artisan migrate
3125
```
3226

33-
You can publish the config file with:
34-
```bash
35-
php artisan vendor:publish --provider="Tepuilabs\SimpleCrm\SimpleCrmServiceProvider" --tag="config"
36-
```
37-
38-
This is the contents of the published config file:
39-
40-
```php
41-
return [
42-
];
43-
```
44-
45-
## Usage
46-
47-
```php
48-
$simple-crm = new Tepuilabs\SimpleCrm();
49-
echo $simple-crm->echoPhrase('Hello, Tepuilabs!');
50-
```
51-
5227
## Testing
5328

5429
```bash
@@ -72,6 +47,8 @@ Please review [our security policy](../../security/policy) on how to report secu
7247
- [angel cruz](https://github.com/abr4xas)
7348
- [All Contributors](../../contributors)
7449

50+
This project is based on <a href="https://www.nick-basile.com/blog/post/improving-our-laravel-nova-crm/" target="_blank">Improving Our Laravel Nova CRM</a>.
51+
7552
## License
7653

7754
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

simple-crm.png

111 KB
Loading

tests/Unit/NoteTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public function test_it_user_can_create_a_note()
1414

1515
$note = $user->notes()->create([
1616
'priority' => 'Low',
17-
'title' => 'Some title',
18-
'body' => 'Some body',
19-
'lead_id' => $lead->id,
17+
'title' => 'Some title',
18+
'body' => 'Some body',
19+
'lead_id' => $lead->id,
2020
]);
2121

2222
$this->assertInstanceOf(Note::class, $note);

0 commit comments

Comments
 (0)