Wednesday, 30 November 2016

Laravel Themes

Status : Draft

Ada beberapa solusi manajemen themes di Laravel yang bisa dicoba, diantaranya :

  1. karlomikus/theme, https://packagist.org/packages/karlomikus/theme
  2. buzz/laravel-theme, https://packagist.org/packages/buzz/laravel-theme
  3. teepluss/laravel-theme, https://github.com/teepluss/laravel-theme
  4. igaster/laravel-theme, https://github.com/igaster/laravel-theme
  5. petercoles/Themes, https://github.com/petercoles/Themes

Tuesday, 29 November 2016

php artisan db:seed [ReflectionException] Class ..... does not exist

Jika menemukan error seperti :

[ReflectionException]              
  Class ....Seeder does not exist

Ketika melakuka seed, coba jalankan perintah :
composer dump-autoload

Referensi


  1.  Laravel5 Seeder, ReflectionException, "class ?????TableSeeder does not exist" in..., http://laravel.io/forum/01-31-2015-laravel5-seeder-reflectionexception-class-tableseeder-does-not-exist-in-illuminatecontainercontainerphp776

Truncate tables with foreign key constraints in a Laravel seed file.

Status : Draft

Referensi


  1. Truncate tables with foreign key constraints in a Laravel seed file., https://gist.github.com/isimmons/8202227