Skip to content

Commit

Permalink
Merge branch 'teamwork-stubs'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 22, 2016
2 parents dc40d01 + d941fd9 commit a009a11
Show file tree
Hide file tree
Showing 28 changed files with 3,178 additions and 1,446 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ php:
- 7.0
- hhvm


matrix:
allow_failures:
- php: 7.0

install:
- travis_retry composer install --no-interaction --prefer-source

Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Teamwork is the fastest and easiest method to add a User / Team association with
- [Team](#team)
- [User](#user)
- [Usage](#usage)
- [Scaffoling](#scaffolding)
- [Basic concepts](#basic-concepts)
- [Get to know my team(s)](#know-my-teams)
- [Team owner](#team-owner)
Expand Down Expand Up @@ -139,6 +140,27 @@ composer dump-autoload
<a name="usage" />
## Usage

<a name="scaffolding" />
### Scaffolding

The easiest way to give your new Laravel project Team abilities is by using the `make:teamwork` command.

```bash
php artisan make:teamwork
```

This command will create all views, routes and controllers to make your new project team-ready.

Out of the box, the following parts will be created for you:

* Team listing
* Team creation / editing / deletion
* Invite new members to teams

Imagine it as a the `make:auth` command for Teamwork.

To get started, take a look at the new installed `/teams` route in your project.

<a name="basic-concepts" />
### Basic concepts

Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,23 @@
},
"require": {
"php": ">=5.5.9",
"illuminate/support": "~5.0"
"laravel/framework": "~5.0"
},
"require-dev": {
"phpunit/phpunit": "~4.1",
"mockery/mockery": "dev-master",
"illuminate/database": "~5.0",
"sami/sami": "dev-master"
"sami/sami": "dev-master",
"orchestra/testbench": "~3.0"
},
"autoload": {
"psr-0": {
"Mpociot\\Teamwork": "src/"
}
},
"autoload-dev": {
"classmap": [
"tests/models/User.php"
]
}
}
Loading

0 comments on commit a009a11

Please sign in to comment.