Skip to content

Commit

Permalink
Cleanup for publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpoulter committed Oct 27, 2019
1 parent a3bf350 commit 307646e
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 8 deletions.
15 changes: 11 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
/.idea
composer.phar
/vendor

/node_modules
package-lock.json
composer.phar
composer.lock

phpunit.xml
.phpunit.result.cache
.phpunit.*
phpdox.xml

/.idea

.DS_Store
Thumbs.db

composer.lock
auth.json
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing

Contributions via Pull Requests are welcome and will be fully credited.

## Pull Requests

1. Fork the project.

1. `git clone` it and `composer install` the dependencies.

1. Create a feature branch.

1. Make the changes you are proposing.

1. Make sure the `README.md` and any other relevant documentation is kept up to date.

1. Make sure each individual commit in your pull request is meaningful. If you made multiple intermediate commits while developing, please [squash them](http://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting.

1. Push to your fork.

1. Open a pull request detailing your changes. **NB: One pull request per feature.**

## Testing

``` bash
$ phpunit
```
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Laravel Nova Enum Field
[![Latest Version](https://img.shields.io/github/release/simplesquid/nova-enum-field.svg?style=flat-square)](https://github.com/simplesquid/nova-vend/releases)
[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Total Downloads](https://img.shields.io/packagist/dt/simplesquid/nova-enum-field.svg?style=flat-square)](https://packagist.org/packages/simplesquid/nova-vend)

A Laravel Nova field for Enums from bensampo/laravel-enum.

## Installation
Contributions, issues and suggestions are very much welcome.

To use this package, you need a Laravel installation with [Nova](https://nova.laravel.com).
## Installation

**Composer**
To use this package, you need a Laravel installation with [Nova](https://nova.laravel.com). Then run:

```bash
composer require simplesquid/nova-enum-field
Expand Down
14 changes: 13 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,20 @@
}
],
"require": {
"php": ">=7.1.0"
"php": "^7.3",
"laravel/nova": "^2.0",
"illuminate/support": "^5.8|^6.0",
"bensampo/laravel-enum": "^1.26"
},
"require-dev": {
"orchestra/testbench": "^3.8|^4.0"
},
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
],
"autoload": {
"psr-4": {
"SimpleSquid\\Nova\\Fields\\Enum\\": "src/"
Expand Down

0 comments on commit 307646e

Please sign in to comment.