Skip to content

Commit

Permalink
chore: atualizar arquivos do projeto para packagist
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreBellas committed Dec 26, 2023
1 parent f281bf8 commit 2f4ba9f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,6 @@ lib/
# Ignore all local history of files
.history
.ionide

# PHP
vendor/
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Disponível para:

- [x] JavaScript ([veja a documentação](https://github.com/AlexandreBellas/bling-erp-api/tree/develop/typescript/README.md))
- [x] TypeScript ([veja a documentação](https://github.com/AlexandreBellas/bling-erp-api/tree/develop/typescript/README.md))
- [ ] PHP (em desenvolvimento)
- [x] PHP ([veja a documentação](https://github.com/AlexandreBellas/bling-erp-api/tree/develop/php/README.md))
- [ ] C# (em breve)

## Instalação
Expand All @@ -21,6 +21,12 @@ desejada.
npm i bling-erp-api
```

### PHP

```bash
composer require alebatistella/bling-erp-api
```

## Recursos

- [Guia de contribuição](https://github.com/AlexandreBellas/bling-erp-api/blob/v5.0.0/CONTRIBUTING.md)
Expand Down
6 changes: 3 additions & 3 deletions php/composer.json → composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"license": "MIT",
"autoload": {
"psr-4": {
"AleBatistella\\BlingErpApi\\": "./src/",
"AleBatistella\\BlingErpApi\\Entities\\Shared\\": "./src/Entities/@shared/"
"AleBatistella\\BlingErpApi\\": "./php/src/",
"AleBatistella\\BlingErpApi\\Entities\\Shared\\": "./php/src/Entities/@shared/"
},
"files": [
"./src/Helpers/functions.php"
"./php/src/Helpers/functions.php"
]
},
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion php/composer.lock → composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion php/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
bootstrap="../vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<coverage />
<testsuites>
<testsuite name="Entities tests">
Expand Down

0 comments on commit 2f4ba9f

Please sign in to comment.