MedKit
MedKit is a toolbox used by Mediactive Digital.
Installation
Create a new project, then require medKit
$ laravel new projectZero
$ cd projectZero/
$ composer require mediactive-digital/medkit
$ php artisan medkit:install
update your .env, create your bdd
Run the migrations (with docker)
Update your .env for access between docker containers :
DB_CONNECTION=mysql
DB_HOST=db_mysql_$DB_DATABASE
DB_PORT=3306
DB_DATABASE=$DB_DATABASE
DB_USERNAME=root
DB_PASSWORD=toor
Replace $DB_DATABASE by your db name
Install docker comunity edition, then run
$ docker-compose up
configurations are in docker-compose.yaml
Then run the wizzard inside Docker.
$ docker-compose exec core_services php /var/www/artisan medkit:migrate
Run the migrations (with your own services)
$ php artisan medkit:migrate
Run Composer (with Docker)
$ docker-compose exec core_services composer update
Integrations
Sentry
Ajout dans le .env
SENTRY_LARAVEL_DSN=https://CODE@SENTRY_SERVER
Roadmap
- Finir les views Generator (pas les id, carbon, translatable, ...)
- Faire une surcouche pour compléter la génération des migrations
- Faire une surcouche pour compléter la génération des factories
- Passer les mails sur mailTemplate (activer compte, mdp oublié, ...) + event création user... + motifs sur datatable (cf videomanager)
- Ajouter une description sur permission + La générer dans le(s) generate() du crud
- Lien phpInfo dans outil dev
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.