├── .editorconfig ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── CHANGELOG.md ├── CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── LICENSE.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── composer.json ├── migrations └── create_favorites_table.php ├── phpunit.xml ├── src ├── FavoriteServiceProvider.php ├── Models │ └── Favorite.php └── Traits │ ├── Favoriteability.php │ └── Favoriteable.php └── tests ├── FavoriteModelTest.php ├── Models ├── Article.php ├── Post.php └── User.php ├── TestCase.php └── temp └── .gitignore /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | build/ 3 | composer.lock 4 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: psr2 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/LICENSE.md -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/composer.json -------------------------------------------------------------------------------- /migrations/create_favorites_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/migrations/create_favorites_table.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/FavoriteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/src/FavoriteServiceProvider.php -------------------------------------------------------------------------------- /src/Models/Favorite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/src/Models/Favorite.php -------------------------------------------------------------------------------- /src/Traits/Favoriteability.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/src/Traits/Favoriteability.php -------------------------------------------------------------------------------- /src/Traits/Favoriteable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/src/Traits/Favoriteable.php -------------------------------------------------------------------------------- /tests/FavoriteModelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/tests/FavoriteModelTest.php -------------------------------------------------------------------------------- /tests/Models/Article.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/tests/Models/Article.php -------------------------------------------------------------------------------- /tests/Models/Post.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/tests/Models/Post.php -------------------------------------------------------------------------------- /tests/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/tests/Models/User.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristianKuri/laravel-favorite/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/temp/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore --------------------------------------------------------------------------------