sfneal / mock-models
Boilerplate for PHP package repo's
Installs: 25 566
Dependents: 13
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ext-json: *
- laravel/framework: ^8.75|^9.0|^10.0|^11.0
- sfneal/models: ^4.0
Requires (Dev)
- orchestra/testbench: ^8.0|9.0
- phpunit/phpunit: ^10.0|^11.0
- sfneal/address: ^1.2|^2.0|^3.0
Suggests
- sfneal/address: Allows for use of `People` model's 'address' relationship
README
Mock Eloquent Models that can be used in test suites without having to muddle up your test directory with mocks.
Installation
You can install the package via composer:
composer require sfneal/mock-models
Usage
// Usage description here
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.