You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make sure everything is OK by running the tests phpunit
Customization
After you install a fresh copy of Nextpack, the only thing you need to do is customizing it to meet your needs, before start codig your package.
The steps include renaming the code samples shipped with the Nextpack:
Change the namespace of the application from Nextpack\Nextpack to your Vendor-name\Package-name. (you can do this using the [Replace All] feature of your IDE).
Update the following values in composer.json: name, description, keywords, authors, autoload and don't forget to update the namespaces. (you might need to run composer dump-autoload after the changes).
Run composer install
Rename SampleFacadeAccessor.php and update the returned string inside the getFacadeAccessor() function.
Rename NextpackServiceProvider and update the content of the following functions: facadeBindings(), configPublisher() and implementationBindings().
Update the config file nextpack.php, (or remove it if not necessary).
Delete this README.md file. And rename the README.md.READY to README.md.
Update LICENSE by replacing ::Vendor-Name and ::Package-Name with your vendor and package names.
Edit the new README.md
Delete the sample tests function. Keep the TestCase.php.
Update the "testsuite" name in the phpunit.xml.
Test
To run the tests, run the following command from the project folder.