File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bug report
2+ description : Report a problem with the package
3+ labels : ["bug"]
4+ body :
5+ - type : textarea
6+ id : what-happened
7+ attributes :
8+ label : What happened?
9+ description : What did you expect, and what did you get instead?
10+ validations :
11+ required : true
12+ - type : dropdown
13+ id : area
14+ attributes :
15+ label : Area
16+ options :
17+ - Roles / permissions logic
18+ - MongoDB backend / queries
19+ - Middleware / gates / Blade directives
20+ - Migrations / seeding
21+ - Docs
22+ validations :
23+ required : true
24+ - type : input
25+ id : package-version
26+ attributes :
27+ label : Package version
28+ validations :
29+ required : true
30+ - type : input
31+ id : php-laravel
32+ attributes :
33+ label : PHP and Laravel version
34+ validations :
35+ required : true
36+ - type : input
37+ id : mongo-version
38+ attributes :
39+ label : MongoDB version
40+ validations :
41+ required : false
Original file line number Diff line number Diff line change 1+ blank_issues_enabled : false
2+ contact_links :
3+ - name : Security vulnerability
4+ url : https://github.com/webrek/laravel-mongo-permission/security/advisories/new
5+ about : Please report security issues privately, not as public issues.
Original file line number Diff line number Diff line change 1+ name : Feature request
2+ description : Suggest an idea for the package
3+ labels : ["enhancement"]
4+ body :
5+ - type : textarea
6+ id : problem
7+ attributes :
8+ label : What problem would this solve?
9+ validations :
10+ required : true
11+ - type : textarea
12+ id : proposal
13+ attributes :
14+ label : Proposed solution
15+ validations :
16+ required : true
17+ - type : textarea
18+ id : alternatives
19+ attributes :
20+ label : Alternatives considered
21+ validations :
22+ required : false
Original file line number Diff line number Diff line change 1+ <!-- Describe what this PR changes and why. -->
2+
3+ ## Summary
4+
5+ ## Type of change
6+
7+ - [ ] Bug fix
8+ - [ ] New feature
9+ - [ ] Breaking change
10+ - [ ] Documentation
11+
12+ ## Checklist
13+
14+ - [ ] ` vendor/bin/phpunit ` passes locally (with MongoDB running)
15+ - [ ] ` vendor/bin/phpstan analyse ` passes (level 5)
16+ - [ ] Added or updated tests
17+ - [ ] Updated ` CHANGELOG.md `
Original file line number Diff line number Diff line change 1+ # Contribuir
2+
3+ Gracias por tomarte el tiempo de contribuir.
4+
5+ ## Para empezar
6+
7+ ``` bash
8+ git clone https://github.com/webrek/laravel-mongo-permission
9+ cd laravel-mongo-permission
10+ composer install
11+ ```
12+
13+ Necesitas la extensión ` mongodb ` de PHP y un MongoDB corriendo. Las pruebas se
14+ conectan usando estas variables de entorno (con estos valores por defecto):
15+
16+ ``` bash
17+ export MONGO_DB_HOST=127.0.0.1
18+ export MONGO_DB_PORT=27017
19+ export MONGO_DB_DATABASE=permission_test
20+ ```
21+
22+ ## Antes de abrir un pull request
23+
24+ CI corre las pruebas en toda la matriz de PHP (8.2–8.5) y Laravel (12 y 13),
25+ más análisis estático y pruebas de mutación. Localmente:
26+
27+ ``` bash
28+ vendor/bin/phpunit # pruebas
29+ vendor/bin/phpstan analyse --memory-limit=1G # análisis estático (nivel 5)
30+ vendor/bin/infection --threads=max # pruebas de mutación
31+ ```
32+
33+ ## Lineamientos
34+
35+ - Mantén los _ pull requests_ enfocados; un cambio lógico por PR.
36+ - Agrega o actualiza pruebas para cualquier cambio de comportamiento. Las
37+ correcciones de errores deben venir con una prueba que falle antes del arreglo.
38+ - Que PHPStan siga pasando sin bajar el nivel.
39+ - Actualiza ` CHANGELOG.md ` bajo el encabezado ` Unreleased ` .
Original file line number Diff line number Diff line change 1+ # Política de seguridad
2+
3+ ## Versiones soportadas
4+
5+ La última versión menor publicada recibe correcciones de seguridad.
6+
7+ ## Reportar una vulnerabilidad
8+
9+ Por favor no abras un _ issue_ público para problemas de seguridad. Repórtalos de
10+ forma privada a través del
11+ [ formulario de avisos de seguridad de GitHub] ( https://github.com/webrek/laravel-mongo-permission/security/advisories/new ) .
12+
13+ Puedes esperar una primera respuesta en unos pocos días hábiles. Una vez lista
14+ la corrección, se publica una versión parchada y el aviso se divulga dando
15+ crédito a quien lo reportó, salvo que prefiera el anonimato.
You can’t perform that action at this time.
0 commit comments