- Clone the repository:
git clone https://github.com/uwla/ltags
- Install dependencies:
composer install
- Refresh composer:
composer dump-autoload
Or, in a single line:
git clone https://github.com/uwla/ltags && cd ltags && composer install && composer dump-autoloaddatabase/migrations/: database migration filessrc/: source filessrc/Contracts/: interfaces used in the packagesrc/Models/: database eloquent modelssrc/Traits/: traits provided by the packagesrc/TagServiceProvider.php: this Service Provider publishes migration filestests/: test files setup including mocking componentstests/Feature/: integration tests
To run the tests you need pdo_sqlite extension installed and enabled in php.ini.
- Run all tests:
composer test - Run a single test (for example,
TagTest):composer test ./tests/Feature/TagTest.php