Current GDPR compliant Private Name attribute is not compatible with multi byte strings, and when encountered it fails and returns an empty string for the name_private attribute. `substr($last_name, 0, 1)` or just `$last_name[0]` is not multi byte compatible, therefore only solution is to use `mb_substr`. It also supports encoding definitions like `mb_substr($last_name, 0, 1, 'UTF-8')` Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
phpVMS 7
The next phpvms version built on the laravel framework. work in progress. The latest documentation, with installation instructions is available on the phpVMS documentation page.
Installation
A full distribution, with all of the composer dependencies, is available at this GitHub Releases link.
Requirements
- PHP 7.3+, extensions:
- cURL
- JSON
- mbstring
- openssl
- pdo
- tokenizer
- Database:
- MySQL 5.5+ (or MySQL variant, including MariaDB and Percona)
View more details on requirements
Installer
- Upload to your server
- Visit the site, and follow the link to the installer
Development Environment with Docker
A full development environment can be brought up using Docker, without having to install composer/npm locally
make docker-test
# **OR** with docker-compose directly
docker-compose -f docker-compose.yml -f docker-compose.local.yml up
Then go to http://localhost. If you're using dnsmasq, the app container is listening on phpvms.test, or you can add to your /etc/hosts file:
127.0.0.1 phpvms.test
The docker-compose.local.yml overrides the app section in docker-compose.yml. The standard docker-compose.yml can be used if you want to deploy from the image, or as a template for your own Dockerized deployments.
Building JS/CSS assets
Yarn is required, run:
make build-assets
This will build all of the assets according to the webpack file.