nextstage-brasil / ns-library
Sistema para facilitar criação aplicações
Package info
gitlab.com/nextstage1/public-projects/ns-library
pkg:composer/nextstage-brasil/ns-library
2.0.14
2026-05-06 18:26 UTC
Requires
- php: ^8.1
- nextstage-brasil/ns-util: ^2.2.4
This package is auto-updated.
Last update: 2026-06-06 21:38:57 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:
- Choose your PHP version (7.4+). Default is 8.3 in the line below
- Choose a PostgreSQL version (15+). Default is PGVERSION=17
- 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.
Version 1.14.0