Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from creasico/feat-resources
Browse files Browse the repository at this point in the history
Feat basic resources
  • Loading branch information
feryardiant authored Aug 30, 2023
2 parents a3c4c5b + 2777efb commit 82c3d79
Show file tree
Hide file tree
Showing 136 changed files with 5,350 additions and 812 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
command: composer update --prefer-dist --no-interaction --no-progress

- name: Run tests
run: composer test
run: composer test -- --coverage

- name: Generate reports for CodeClimate
env:
Expand All @@ -102,9 +102,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-reports
path: |
tests/coverage
tests/reports
path: tests/reports

reports:
name: Report Test Coverages
Expand All @@ -116,10 +114,9 @@ jobs:
uses: actions/download-artifact@v3
with:
name: test-reports
path: tests

- name: Report to CodeClimate
run: |
curl -LSs $CC_TEST_REPORTER_URL > ./cc-test-reporter && chmod +x ./cc-test-reporter
./cc-test-reporter sum-coverage -o - tests/reports/codeclimate.*.json | ./cc-test-reporter upload-coverage --input -
./cc-test-reporter sum-coverage -o - codeclimate.*.json | ./cc-test-reporter upload-coverage --input -
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
[![License](https://img.shields.io/github/license/creasico/laravel-base?style=flat-square)](https://github.com/creasico/laravel-base/blob/main/LICENSE)
[![Actions Status](https://img.shields.io/github/actions/workflow/status/creasico/laravel-base/test.yml?branch=main&style=flat-square)](https://github.com/creasico/laravel-base/actions)

# Laravel Account
# Creasi Base

Account Management Package for All of Our Projects
Laravel Package that aims to provide basic organization directory structures for most of our projects.

## Requirements

- PHP `>=v8.1`
- Laravel `>=10.0`

## Why?

## Installation

Expand Down
28 changes: 13 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "creasi/laravel-base",
"description": "Accounts Management Package",
"keywords": ["laravel", "accounts", "package"],
"description": "Laravel Package that aims to provide basic organization directory structures.",
"keywords": ["laravel", "package", "base", "accountability", "organization", "directory"],
"license": "MIT",
"type": "library",
"authors": [
Expand All @@ -18,7 +18,10 @@
"pint --preset laravel"
],
"test": [
"vendor/bin/phpunit --colors=always --coverage-text"
"testbench package:test --ansi"
],
"testbench": [
"testbench"
]
},
"autoload": {
Expand All @@ -34,17 +37,15 @@
},
"require": {
"php": "^8.1",
"creasi/laravel-nusa": "^0.0.5",
"illuminate/contracts": "^10.0",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0"
"creasi/laravel-nusa": "^0.1.0",
"laravel/framework": "^9.0|^10.0"
},
"require-dev": {
"composer-runtime-api": "*",
"laravel/pint": "^1.1",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^8.5",
"phpunit/phpunit": "^10.1"
"laravel/sanctum": "^3.2",
"nunomaduro/collision": "^7.4",
"orchestra/testbench": "^8.5"
},
"config": {
"preferred-install": "dist",
Expand All @@ -53,11 +54,8 @@
"extra": {
"laravel": {
"providers": [
"Creasi\\Laravel\\Accounts\\ServiceProvider"
],
"aliases": {
"Accounts": "Creasi\\Laravel\\Accounts"
}
"Creasi\\Base\\ServiceProvider"
]
}
},
"minimum-stability": "dev",
Expand Down
Loading

0 comments on commit 82c3d79

Please sign in to comment.