Downloads
Stars
Version
NStack integration for Laravel
To install this package you will need:
You must then modify your composer.json
file and run composer update
to include the latest version of the package in your project.
"require": {
"nodes/nstack": "1.0.*",
}
Or you can run the composer require command from your terminal.
composer require nodes/nstack
Setup service providers in config/app.php
Nodes\NStack\ServiceProvider::class,
Nodes\ServiceProvider::class,
Setup alias in config/app.php
'NStack' => Nodes\Backend\Support\Facades\NStack::class,
Publish config file
php artisan vendor:publish && php artisan vendor:publish --provider="Nodes\NStack\ServiceProvider" --force
Dump
composer dump-autoload
Global function
nstack()
$countries = nstack()->countries()
nstack()->pushLog('fcm', 'my-app', 'userNotification', true, ['request here'], ['response here'], 'Hi!', 1);
nstack()->fileUpload('private-password', $uploadedFile, str_random(8));
nstack()->validateEmail($email): bool
This package is developed and maintained by the PHP team at Nodes
This package is open-sourced software licensed under the MIT license