1. Go to this page and download the library: Download rocketslab/neewton library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rocketslab / neewton example snippets
...
<!-- Active neewton modules -->
@neewtonModules
...
return [
/*
* Active modules array, put here each module registration class
*/
'active_modules' => [
Module\\Exemplo\\Register::class
]
];
shell
php artisan neewton:install
shell
php artisan neewton:install --composer=<caminho para o composer>
shell
php artisan view:clear && npm run [dev|prod]