- Remove any existing directory
vendor/bjuppa/laravel-blog-admin
- Install the package from git using
composer install --prefer-source
- Run
cd vendor/bjuppa/laravel-blog-admin
andcomposer install
to install dependencies within the package.
Run composer test
from the project directory to start the default test suite.
Run composer report
to run tests with coverage reports.
Logs created during test runs can be found in vendor/orchestra/testbench-core/laravel/storage/logs/
If you want your own local configuration for phpunit,
copy the file phpunit.xml.dist
to phpunit.xml
and modify the latter to your needs.
This project can be checked against configured coding standards using composer phpcs
from the project directory.
Automatic attempt to fix some reported coding standard violations can be run with
./vendor/bin/phpcbf
from the project directory.
composer update --prefer-lowest
can be used before running tests for testing backwards compatibility.composer show -D -o
can be used to check how far behind latest version the currently installed dependencies are.composer update
will install the latest versions of dependencies.
Travis CI is set up to run tests on multiple versions of PHP and Laravel whenever a git push or a PR is made.
Running composer clearCompiledViews
will delete the contents of
vendor/orchestra/testbench-core/laravel/storage/framework/views/
and this is automatically triggered when composer updates dependencies.
Releases are handled through the GitHub releases interface.