PHP code example of elaborate-code / laravel-algerian-education-system
1. Go to this page and download the library: Download elaborate-code/laravel-algerian-education-system 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/ */
elaborate-code / laravel-algerian-education-system example snippets
return [
'cycles_table_name' => null, // defaults to cycles
'class_types_table_name' => null, // defaults to class_types
];
// Database\Seeders\DatabaseSeeder
public function run()
{
$this->call([
ElaborateCode\AlgerianEducationSystem\Database\Seeders\AlgerianEducationSystemSeeder::class,
// ElaborateCode\AlgerianEducationSystem\Database\Seeders\MergePrescolaireIntoPrimaireCycleSeeder::class,
]);
}
php .\artisan db:seed --class=ElaborateCode\AlgerianEducationSystem\Database\Seeders\AlgerianEducationSystemSeeder
bash
php artisan vendor:publish --tag="algerian-education-system-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="algerian-education-system-config"