bravepickle / alice-laravel
Alice fixtures generator integration to Laravel Framework
Installs: 2 485
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bravepickle/alice-laravel
Requires
- php: ^7.3|^8.0
 - illuminate/database: ^8.0
 - nelmio/alice: ^3.0
 
Requires (Dev)
- ext-pdo: *
 - phpunit/phpunit: ^9.0
 
This package is auto-updated.
Last update: 2025-10-10 23:18:20 UTC
README
Alice's fixtures generator integration to Laravel Framework
Features
- Implemented ModelLoader class for loading data from Alice configs to Eloquent models
 - Added GenericModel abstraction for supporting tables that have no Laravel models present. Useful when databases are shared, have temporary tables or some tables should be accessed indirectly
 
TODO
- write unit tests
 - multiple database support
 - common variables support
 - extra settings for ModelLoader such as locale, extra helper functions and other
 - context options that define if ModelLoader should just create models or additionally use factory methods or create and save to DB
 - relations update and save using Eloquent models
 - saving to database resulting sets in transactions and with disabled foreign key checks