You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-45Lines changed: 8 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,61 +24,24 @@ Custom fields can be utilized to extend a model and offer a more flexible approa
24
24
25
25
## Installation
26
26
27
-
```bash
27
+
Install the package via composer
28
+
29
+
```
28
30
composer require onramplab/laravel-custom-fields
29
31
```
32
+
Publish migration files and run command to build tables needed in the package
30
33
31
-
This will create a basic project structure for you:
32
-
33
-
***/build** is used to store code coverage output by default;
34
-
***/src** is where your codes will live in, each class will need to reside in its own file inside this folder;
35
-
***/tests** each class that you write in src folder needs to be tested before it was even "included" into somewhere else. So basically we have tests classes there to test other classes;
36
-
***.gitignore** there are certain files that we don't want to publish in Git, so we just add them to this fle for them to "get ignored by git";
37
-
***CHANGELOG.md** to keep track of package updates;
38
-
***CONTRIBUTION.md** Contributor Covenant Code of Conduct;
39
-
***LICENSE** terms of how much freedom other programmers is allowed to use this library;
40
-
***README.md** it is a mini documentation of the library, this is usually the "home page" of your repo if you published it on GitHub and Packagist;
41
-
***composer.json** is where the information about your library is stored, like package name, author and dependencies;
42
-
***phpunit.xml** It is a configuration file of PHPUnit, so that tests classes will be able to test the classes you've written;
43
-
***.travis.yml** basic configuration for Travis CI with configured test coverage reporting for code climate.
0 commit comments