PHP code example of mayconbordin / l5-fixtures
1. Go to this page and download the library: Download mayconbordin/l5-fixtures library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mayconbordin / l5-fixtures example snippets
'Mayconbordin\L5Fixtures\FixturesServiceProvider'
'Fixtures' => 'Mayconbordin\L5Fixtures\FixturesFacade'
Fixtures::up();
Fixtures::up('table_one', 'table_two');
Fixtures::down();
Fixtures::setUp('/path/to/fixtures');
return [
[
'name' => 'Owen Sound',
'region' => 'ON',
'country' => 'Sierra Leone'
]
];