weeworxx/shared-resources

Shared Laravel module with modular support for User, Post, Comments, etc.

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/weeworxx/shared-resources

dev-master 2025-09-12 04:16 UTC

This package is auto-updated.

Last update: 2025-10-12 04:28:19 UTC


README

Dump Your DB Structure (No Data)

####IMPORTANT: Please run this command in your root directory of your host working directory. Eg: ~/Sites/weeworxx:

ls -al

inside your directory should look like this:

  • README.md
  • /backend
  • /docker
  • docker-compose.yml
  • etc...
docker-compose exec mysql \
  mysqldump -uweeworx_user -pw33w0rxx123 \
  --no-data --skip-comments --no-tablespaces weeworx \
  > backend/shared-resources/src/TestCase/sqldumps/weeworx.sql

or

( docker-compose exec mysql \
  mysqldump -uweeworx_user -pw33w0rxx123 \
  --no-data --no-tablespaces --skip-comments weeworx \
  | grep -v "mysqldump: \[Warning\] Using a password on the command line interface can be insecure." \
  > backend/shared-resources/src/TestCase/sqldumps/weeworx.sql ) 2>/dev/null

In order to run your test suites:

docker-compose exec app /bash/sh
cd ../shared-resources
./vendor/bin/phpunit

or if you want to test specific test file:

docker-compose exec app /bash/sh
cd ../shared-resources
./vendor/bin/phpunit --filter=PostTest