nextstage-brasil/ns-library

Sistema para facilitar criação aplicações

1.12.72 2025-07-04 13:03 UTC

This package is auto-updated.

Last update: 2025-07-04 11:03:12 UTC


README

Pre-requisites

  • Have Docker installed and configured
  • Use WSL or Linux environment. Applications in Windows environment tend to be slow

Installation

In the directory where you want to install the application:

  1. Choose your PHP version (7.4+). Default is 8.3 in the line below
  2. Choose a PostgreSQL version (15+). Default is PGVERSION=17
  3. Execute the command:
export PHP_VERSION=8.3 && docker run -it -e PGVERSION=17 -e S6_LOGGING=0 -v $(pwd):/var/www/html nextstage/php:${PHP_VERSION}-cli sh -c '\
 set -e \
 && composer init --no-interaction --name nsutil/new_project \
 && composer require --no-interaction nextstage-brasil/ns-library:^1.12 \
 && composer install \
 && composer update \
 && php vendor/nextstage-brasil/ns-library/installer.php \
 && exit'

Follow the instructions in the README generated in the application.