repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/CreatesApplication.php
tests/CreatesApplication.php
<?php namespace Tests; use Illuminate\Support\Facades\Hash; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make(Kernel::class)->bootstrap(); Hash::driver('bcrypt')->setRounds(4); return $app; } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/DuskTestCase.php
tests/DuskTestCase.php
<?php namespace Tests; use Laravel\Dusk\TestCase as BaseTestCase; use Facebook\WebDriver\Chrome\ChromeOptions; use Facebook\WebDriver\Remote\RemoteWebDriver; use Facebook\WebDriver\Remote\DesiredCapabilities; abstract class DuskTestCase extends BaseTestCase { use CreatesApplication; /** * Prepare for Dusk test execution. * * @beforeClass * @return void */ public static function prepare() { static::startChromeDriver(); } /** * Create the RemoteWebDriver instance. * * @return \Facebook\WebDriver\Remote\RemoteWebDriver */ protected function driver() { $options = (new ChromeOptions)->addArguments([ '--disable-gpu', '--headless' ]); return RemoteWebDriver::create( 'http://localhost:9515', DesiredCapabilities::chrome()->setCapability( ChromeOptions::CAPABILITY, $options ) ); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/HomePageTest.php
tests/Browser/HomePageTest.php
<?php namespace Tests\Browser; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use Tests\Browser\Pages\HomePage; use Illuminate\Foundation\Testing\DatabaseMigrations; class HomePageTest extends DuskTestCase { use DatabaseMigrations; public function testHomePage() { $this->browse(function (Browser $browser) { $browser->visit(new HomePage) ->assertSee('Neon Tsunami'); }); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/LoginTest.php
tests/Browser/LoginTest.php
<?php namespace Tests\Browser; use App\User; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use Tests\Browser\Pages\Login; use Illuminate\Foundation\Testing\DatabaseMigrations; class LoginTest extends DuskTestCase { use DatabaseMigrations; public function testLoginWithCorrectCredentials() { $user = factory(User::class)->create([ 'email' => 'test@example.com', 'password' => 'secret' ]); $this->browse(function (Browser $browser) use ($user) { $browser->visit(new Login) ->attempt($user->email, 'secret') ->assertPathIs('/admin'); }); } public function testLoginWithIncorrectCredentials() { $user = factory(User::class)->create([ 'email' => 'test@example.com', 'password' => 'secret' ]); $this->browse(function (Browser $browser) use ($user) { $browser->visit(new Login) ->attempt($user->email, 'password') ->assertPathIs('/admin/login') ->assertSee('Your login credentials were invalid.'); }); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/ExampleTest.php
tests/Browser/ExampleTest.php
<?php namespace Tests\Browser; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use Illuminate\Foundation\Testing\DatabaseMigrations; class ExampleTest extends DuskTestCase { /** * A basic browser test example. * * @return void */ public function testBasicExample() { $this->browse(function (Browser $browser) { $browser->visit('/') ->assertSee('Laravel'); }); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/Pages/Page.php
tests/Browser/Pages/Page.php
<?php namespace Tests\Browser\Pages; use Laravel\Dusk\Page as BasePage; abstract class Page extends BasePage { /** * Get the global element shortcuts for the site. * * @return array */ public static function siteElements() { return [ '@element' => '#selector', ]; } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/Pages/Login.php
tests/Browser/Pages/Login.php
<?php namespace Tests\Browser\Pages; use Laravel\Dusk\Browser; use Laravel\Dusk\Page as BasePage; class Login extends BasePage { /** * Get the URL for the page. * * @return string */ public function url() { return '/admin/login'; } /** * Assert that the browser is on the page. * * @return void */ public function assert(Browser $browser) { $browser->assertPathIs($this->url()); } /** * Get the element shortcuts for the page. * * @return array */ public function elements() { return [ '@email' => 'input[name=email]', '@password' => 'input[name=password]' ]; } /** * Attempt to login with the given credentials. * * @param \Laravel\Dusk\Browser $browser * @param string $email * @param string $password * @return void */ public function attempt(Browser $browser, string $email, string $password) { $browser->type('@email', $email) ->type('@password', $password) ->press('Login'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Browser/Pages/HomePage.php
tests/Browser/Pages/HomePage.php
<?php namespace Tests\Browser\Pages; use Laravel\Dusk\Browser; class HomePage extends Page { /** * Get the URL for the page. * * @return string */ public function url() { return '/'; } /** * Assert that the browser is on the page. * * @return void */ public function assert(Browser $browser) { $browser->assertPathIs($this->url()); } /** * Get the element shortcuts for the page. * * @return array */ public function elements() { return [ '@element' => '#selector', ]; } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/PagesControllerTest.php
tests/Feature/PagesControllerTest.php
<?php namespace Tests\Feature; use App\Post; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class PagesControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $user = factory(User::class)->create(); $posts = $user->posts()->saveMany(factory(Post::class, 2)->make()); $response = $this->get('/'); $response->assertStatus(200) ->assertSee($posts->first()->title) ->assertSee($posts->last()->title); } public function testAbout() { $response = $this->get('/about'); $response->assertStatus(200); } public function testRss() { $response = $this->get('/rss'); $response->assertStatus(200); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/ProjectsControllerTest.php
tests/Feature/ProjectsControllerTest.php
<?php namespace Tests\Feature; use App\Project; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ProjectsControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $project = factory(Project::class)->create(); $response = $this->get('/projects'); $response->assertStatus(200) ->assertSee('Projects') ->assertSee($project->name); } public function testShow() { $project = factory(Project::class)->create(); $response = $this->get("/projects/{$project->slug}"); $response->assertStatus(200) ->assertSee($project->name) ->assertSee($project->description); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/PostsControllerTest.php
tests/Feature/PostsControllerTest.php
<?php namespace Tests\Feature; use App\Post; use App\User; use DateTime; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class PostsControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $user = factory(User::class)->create(); $publishedPost = $user->posts()->save( factory(Post::class)->make(['published_at' => new DateTime]) ); $unpublishedPost = $user->posts()->save( factory(Post::class)->make(['published_at' => null]) ); $response = $this->get('/posts'); $response->assertStatus(200) ->assertSee($publishedPost->title) ->assertDontSee($unpublishedPost->title); } public function testShow() { $user = factory(User::class)->create(); $post = $user->posts()->save( factory(Post::class)->make() ); $response = $this->get("/posts/{$post->slug}"); $response->assertStatus(200) ->assertSee($post->title); $this->assertEquals(1, $post->fresh()->views); } public function testShowWithUnpublishedPost() { $user = factory(User::class)->create(); $post = $user->posts()->save( factory(Post::class)->make(['published_at' => null]) ); $response = $this->get("/posts/{$post->slug}"); $response->assertStatus(404); $this->assertEquals(0, $post->fresh()->views); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/SitemapsControllerTest.php
tests/Feature/SitemapsControllerTest.php
<?php namespace Tests\Feature; use Tests\TestCase; class SitemapsControllerTest extends TestCase { public function testSitemap() { $response = $this->get('/sitemap'); $response->assertStatus(200); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/SeriesControllerTest.php
tests/Feature/SeriesControllerTest.php
<?php namespace Tests\Feature; use App\Post; use App\User; use App\Series; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class SeriesControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $user = factory(User::class)->create(); $series = factory(Series::class)->create(); $publishedPost = factory(Post::class)->make(); $publishedPost->series()->associate($series); $publishedPost->user()->associate($user); $publishedPost->save(); $response = $this->get('/series'); $response->assertStatus(200) ->assertSee($series->name) ->assertSee('1 post'); } public function testShow() { $user = factory(User::class)->create(); $series = factory(Series::class)->create(); $publishedPost = factory(Post::class)->make(); $publishedPost->series()->associate($series); $publishedPost->user()->associate($user); $publishedPost->save(); $unpublishedPost = factory(Post::class)->make(['published_at' => null]); $unpublishedPost->series()->associate($series); $unpublishedPost->user()->associate($user); $unpublishedPost->save(); $response = $this->get("/series/{$series->slug}"); $response->assertStatus(200) ->assertSee($series->name) ->assertSee($publishedPost->title) ->assertDontSee($unpublishedPost->title); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/TagsControllerTest.php
tests/Feature/TagsControllerTest.php
<?php namespace Tests\Feature; use App\Tag; use App\Post; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class TagsControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $tag = factory(Tag::class)->create(); $user = factory(User::class)->create(); $posts = $user->posts()->saveMany( factory(Post::class, 3)->make() ); $tag->posts()->sync($posts); $response = $this->get('/tags'); $response->assertStatus(200) ->assertSee($tag->name); } public function testShow() { $tag = factory(Tag::class)->create(); $user = factory(User::class)->create(); $posts = $user->posts()->saveMany( factory(Post::class, 3)->make() ); $tag->posts()->sync([$posts[0]->id, $posts[1]->id, $posts[2]->id]); $response = $this->get("tags/{$tag->slug}"); $response->assertStatus(200) ->assertSee($tag->name) ->assertSee($posts->first()->title); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/RedirectsControllerTest.php
tests/Feature/RedirectsControllerTest.php
<?php namespace Tests\Feature; use App\Tag; use App\Post; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class RedirectsControllerTest extends TestCase { use RefreshDatabase; public function testGetPost() { $user = factory(User::class)->create(); $post = $user->posts()->save(factory(Post::class)->make()); $response = $this->get("/post/{$post->slug}"); $response->assertRedirect("/posts/{$post->slug}"); } public function testGetTag() { $tag = factory(Tag::class)->create(); $response = $this->get("/tag/{$tag->slug}"); $response->assertRedirect("/tags/{$tag->slug}"); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/PagesControllerTest.php
tests/Feature/Admin/PagesControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class PagesControllerTest extends TestCase { use RefreshDatabase; public function testIndex() { $response = $this->actingAs(new User)->get('/admin'); $response->assertStatus(200); } public function testReports() { $response = $this->actingAs(new User)->get('/admin/reports'); $response->assertStatus(200); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/ProjectsControllerTest.php
tests/Feature/Admin/ProjectsControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use App\Project; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ProjectsControllerTest extends TestCase { use RefreshDatabase; public function setUp() { parent::setUp(); $this->be(new User); } public function testIndex() { $response = $this->get('/admin/projects'); $response->assertStatus(200); } public function testCreate() { $response = $this->get('/admin/projects/create'); $response->assertStatus(200); } public function testStore() { $project = factory(Project::class)->make(['slug' => 'foo']); $response = $this->post('/admin/projects', $project->getAttributes()); $response->assertRedirect('/admin/projects/foo'); } public function testStoreFails() { $response = $this->post('/admin/projects', []); $response->assertRedirect('/admin/projects/create'); } public function testShow() { $project = factory(Project::class)->create(); $response = $this->get("admin/projects/{$project->slug}"); $response->assertStatus(200) ->assertSee($project->name); } public function testEdit() { $project = factory(Project::class)->create(); $response = $this->get("admin/projects/{$project->slug}/edit"); $response->assertStatus(200); } public function testUpdate() { $project = factory(Project::class)->create(['slug' => 'foo']); $response = $this->put("/admin/projects/{$project->slug}", [ 'slug' => 'bar' ]); $response->assertRedirect('/admin/projects/bar'); } public function testUpdateFails() { $project = factory(Project::class)->create(['slug' => 'foo']); $response = $this->put("/admin/projects/{$project->slug}", [ 'url' => 'invalid' ]); $response->assertRedirect("/admin/projects/{$project->slug}/edit"); } public function testDestroy() { $project = factory(Project::class)->create(); $response = $this->delete("/admin/projects/{$project->slug}"); $response->assertRedirect('/admin/projects'); $this->assertEquals(0, Project::count()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/ControllerTest.php
tests/Feature/Admin/ControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ControllerTest extends TestCase { use RefreshDatabase; public function testRedirectsGuests() { $response = $this->get('/admin'); $response->assertRedirect('/admin/login'); $this->assertGuest(); } public function testAllowsAuthenticatedAccess() { $response = $this->actingAs(new User)->get('/admin'); $response->assertStatus(200); $this->assertAuthenticated(); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/UsersControllerTest.php
tests/Feature/Admin/UsersControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class UsersControllerTest extends TestCase { use RefreshDatabase; public function setUp() { parent::setUp(); $this->be(new User); } public function testIndex() { $response = $this->get('/admin/users'); $response->assertStatus(200); } public function testCreate() { $response = $this->get('/admin/users/create'); $response->assertStatus(200); } public function testStore() { $user = factory(User::class)->make(); $response = $this->post('/admin/users', $user->getAttributes()); $user = User::latest()->first(); $response->assertRedirect("admin/users/{$user->id}"); } public function testStoreFails() { $response = $this->post('/admin/users', []); $response->assertRedirect('/admin/users/create'); } public function testShow() { $user = factory(User::class)->create(); $response = $this->get("/admin/users/{$user->id}"); $response->assertStatus(200) ->assertSee($user->first_name); } public function testEdit() { $user = factory(User::class)->create(); $response = $this->get("admin/users/{$user->id}/edit"); $response->assertStatus(200); } public function testUpdate() { $user = factory(User::class)->create(['first_name' => 'foo']); $response = $this->put("/admin/users/{$user->id}", ['first_name' => 'bar']); $response->assertRedirect("/admin/users/{$user->id}"); $this->assertEquals('bar', $user->fresh()->first_name); } public function testUpdateFails() { $user = factory(User::class)->create(); $response = $this->put("/admin/users/{$user->id}", ['email' => 'invalid']); $response->assertRedirect("/admin/users/{$user->id}/edit"); } public function testDestroy() { $user = factory(User::class)->create(); $response = $this->delete("/admin/users/{$user->id}"); $response->assertRedirect('/admin/users'); $this->assertEquals(0, User::count()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/PostsControllerTest.php
tests/Feature/Admin/PostsControllerTest.php
<?php namespace Tests\Feature\Admin; use App\Tag; use App\Post; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class PostsControllerTest extends TestCase { use RefreshDatabase; public function setUp() { parent::setUp(); $this->actingAs( factory(User::class)->create() ); } public function testIndex() { $response = $this->get('/admin/posts'); $response->assertStatus(200); } public function testCreate() { $response = $this->get('/admin/posts/create'); $response->assertStatus(200); } public function testStore() { $this->withoutExceptionHandling(); $post = factory(Post::class)->make(['series_id' => null, 'slug' => 'foo']); $response = $this->post('/admin/posts', $post->getAttributes()); $response->assertRedirect('/admin/posts/foo'); } public function testStoreWithTags() { $tag = factory(Tag::class)->create(['name' => 'Bar']); $post = factory(Post::class)->make(['series_id' => null, 'slug' => 'foo']); $attributes = array_merge($post->getAttributes(), ['tags' => 'bar']); $response = $this->post('/admin/posts', $attributes); $response->assertRedirect('/admin/posts/foo'); tap(Post::first(), function ($post) use ($tag) { $this->assertTrue($post->tags->contains($tag)); }); } public function testStoreFails() { $response = $this->from('/admin/posts/create') ->post('/admin/posts', []); $response->assertRedirect('/admin/posts/create'); } public function testShow() { $user = factory(User::class)->create(); $post = $user->posts()->save(factory(Post::class)->make()); $response = $this->get("/admin/posts/{$post->slug}"); $response->assertStatus(200) ->assertSee($post->title); } public function testEdit() { $user = factory(User::class)->create(); $post = $user->posts()->save(factory(Post::class)->make()); $response = $this->get("admin/posts/{$post->slug}/edit"); $response->assertStatus(200); } public function testUpdate() { $user = factory(User::class)->create(); $user->posts()->save(factory(Post::class)->make([ 'slug' => 'foo' ])); $response = $this->from('/admin/posts/foo/edit') ->put('/admin/posts/foo', ['slug' => 'bar']); $response->assertRedirect('/admin/posts/bar'); } public function testUpdateWithTags() { $tag = factory(Tag::class)->create(['name' => 'Bat']); $user = factory(User::class)->create(); $post = $user->posts()->save(factory(Post::class)->make([ 'slug' => 'foo' ])); $response = $this->from('/admin/posts/foo/edit') ->put('/admin/posts/foo', ['slug' => 'bar', 'tags' => 'bat']); $response->assertRedirect('/admin/posts/bar'); tap($post->fresh(), function ($post) use ($tag) { $this->assertTrue($post->tags->contains($tag)); }); } public function testUpdateFails() { $user = factory(User::class)->create(); $user->posts()->save(factory(Post::class)->make([ 'slug' => 'foo' ])); $response = $this->from('/admin/posts/foo/edit') ->put('/admin/posts/foo', ['series_id' => 'invalid']); $response->assertRedirect('/admin/posts/foo/edit'); } public function testDestroy() { $user = factory(User::class)->create(); $post = $user->posts()->save(factory(Post::class)->make()); $response = $this->delete("/admin/posts/{$post->slug}"); $response->assertRedirect('/admin/posts'); $this->assertEquals(0, Post::count()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/SeriesControllerTest.php
tests/Feature/Admin/SeriesControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use App\Series; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class SeriesControllerTest extends TestCase { use RefreshDatabase; public function setUp() { parent::setUp(); $this->be(new User); } public function testIndex() { $response = $this->get('/admin/series'); $response->assertStatus(200); } public function testCreate() { $response = $this->get('/admin/series/create'); $response->assertStatus(200); } public function testStore() { $series = factory(Series::class)->make(['slug' => 'foo']); $response = $this->post('/admin/series', $series->getAttributes()); $response->assertRedirect('/admin/series/foo'); } public function testStoreFails() { $response = $this->post('/admin/series', []); $response->assertRedirect('/admin/series/create'); } public function testShow() { $series = factory(Series::class)->create(); $response = $this->get("/admin/series/{$series->slug}"); $response->assertStatus(200) ->assertSee($series->name); } public function testEdit() { $series = factory(Series::class)->create(); $response = $this->get("admin/series/{$series->slug}/edit"); $response->assertStatus(200); } public function testUpdate() { $series = factory(Series::class)->create(['slug' => 'foo']); $response = $this->put("/admin/series/{$series->slug}", [ 'slug' => 'bar' ]); $response->assertRedirect('/admin/series/bar'); } public function testUpdateFails() { $series = factory(Series::class)->create(['slug' => 'foo']); factory(Series::class)->create(['slug' => 'bar']); $response = $this->put("/admin/series/{$series->slug}", [ 'slug' => 'bar' ]); $response->assertRedirect('/admin/series/foo/edit'); } public function testDestroy() { $series = factory(Series::class)->create(); $response = $this->delete("/admin/series/{$series->slug}"); $response->assertRedirect('/admin/series'); $this->assertEquals(0, Series::count()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/TagsControllerTest.php
tests/Feature/Admin/TagsControllerTest.php
<?php namespace Tests\Feature\Admin; use App\Tag; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class TagsControllerTest extends TestCase { use RefreshDatabase; public function setUp() { parent::setUp(); $this->be(new User); } public function testIndex() { $tag = factory(Tag::class)->create(); $response = $this->get('/admin/tags'); $response->assertStatus(200) ->assertJsonFragment(['name' => $tag->name]); } public function testIndexSearches() { factory(Tag::class)->create(['name' => 'Foo']); factory(Tag::class)->create(['name' => 'Bar']); $response = $this->json('GET', 'admin/tags', ['q' => 'Foo']); $response->assertStatus(200) ->assertJsonFragment(['name' => 'Foo']) ->assertJsonMissing(['name' => 'Bar']); } public function testStore() { $tag = factory(Tag::class)->make(['name' => 'Foo']); $response = $this->json('POST', 'admin/tags', $tag->getAttributes()); $response->assertStatus(201) ->assertJsonFragment(['name' => 'Foo']); } public function testStoreDoesNotDuplicateTags() { $tag = factory(Tag::class)->create(['name' => 'Foo', 'slug' => 'foo']); $response = $this->json('POST', 'admin/tags', $tag->getAttributes()); $response->assertStatus(201) ->assertJsonFragment(['name' => 'Foo']); $this->assertEquals(1, Tag::count()); } public function testStoreFails() { $response = $this->json('POST', 'admin/tags'); $response->assertStatus(422); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Feature/Admin/SessionsControllerTest.php
tests/Feature/Admin/SessionsControllerTest.php
<?php namespace Tests\Feature\Admin; use App\User; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class SessionsControllerTest extends TestCase { use RefreshDatabase; public function testCreate() { $response = $this->get('/admin/login'); $response->assertStatus(200); } public function testStoreWithCorrectCredentials() { $user = factory(User::class)->create([ 'email' => 'test@example.com', 'password' => bcrypt('password') ]); $response = $this->post('/admin/login', [ 'email' => $user->email, 'password' => 'password' ]); $response->assertRedirect('/admin'); $this->assertTrue(auth()->check()); $this->assertEquals(auth()->user()->email, $user->email); } public function testStoreWithIncorrectCredentials() { $user = factory(User::class)->create([ 'email' => 'text@example.com', ]); $response = $this->post('/admin/login', [ 'email' => $user->email, 'password' => 'foo' ]); $response->assertRedirect('/admin/login'); $this->assertFalse(auth()->check()); } public function testStoreWithoutCredentials() { $this->from('/admin/login'); $response = $this->post('/admin/login', []); $response->assertRedirect('/admin/login'); $this->assertFalse(auth()->check()); } public function testDestroy() { $response = $this->delete('/admin/logout'); $response->assertRedirect('/admin/login'); $this->assertFalse(auth()->check()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Unit/TagTest.php
tests/Unit/TagTest.php
<?php namespace Tests\Unit\Models; use App\Tag; use Tests\TestCase; class TagTest extends TestCase { public $tag; public function setUp() { parent::setUp(); $this->tag = new Tag; } public function testGetHashtagAttribute() { $this->tag->slug = 'foo'; $this->assertEquals('#foo', $this->tag->hashtag); } public function testSetNameAttribute() { $this->tag->name = 'Foo Bar Baz'; $this->assertEquals('foo-bar-baz', $this->tag->slug); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Unit/ModelTest.php
tests/Unit/ModelTest.php
<?php namespace Tests\Unit\Models; use App\Model; use Tests\TestCase; class ModelTest extends TestCase { public $model; public function setUp() { parent::setUp(); $this->model = new ModelStub; } public function testUsesSoftDeletingTrait() { $traits = class_uses($this->model); foreach (class_parents($this->model) as $parent) { $traits += class_uses($parent); } $this->assertContains( 'Illuminate\Database\Eloquent\SoftDeletes', $traits ); } public function testSetsDatesProperty() { $this->assertContains('deleted_at', $this->model->getDates()); } } class ModelStub extends Model { // }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Unit/PostTest.php
tests/Unit/PostTest.php
<?php namespace Tests\Unit\Models; use App\Post; use Carbon\Carbon; use Tests\TestCase; class PostTest extends TestCase { public $post; public function setUp() { parent::setUp(); $this->post = new Post; // To prevent the model from needing to talk to the database to get the // correct date format, we'll just tell it. The alternative would be to // have this test extend TestCase and boot the Laravel application. $this->post->setDateFormat('Y-m-d H:i:s'); } public function testSetTitleAttribute() { $this->post->title = 'Foo Bar Baz'; $this->assertEquals('foo-bar-baz', $this->post->slug); } public function testIsPublished() { $this->assertFalse($this->post->isPublished()); $this->post->published_at = Carbon::now()->subDay(); $this->assertTrue($this->post->isPublished()); $this->post->published_at = Carbon::now()->addDay(); $this->assertFalse($this->post->isPublished()); } public function testIsUnpublished() { $this->assertTrue($this->post->isUnpublished()); $this->post->published_at = Carbon::now(); $this->assertFalse($this->post->isUnpublished()); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Unit/SeriesTest.php
tests/Unit/SeriesTest.php
<?php namespace Tests\Unit\Models; use App\Series; use Tests\TestCase; class SeriesTest extends TestCase { public $series; public function setUp() { parent::setUp(); $this->series = new Series; } public function testSetNameAttribtue() { $this->series->name = 'Foo Bar Baz'; $this->assertEquals('foo-bar-baz', $this->series->slug); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/Unit/UserTest.php
tests/Unit/UserTest.php
<?php namespace App; use App\User; use Tests\TestCase; class UserTest extends TestCase { public $user; public function setUp() { parent::setUp(); $this->user = new User; } public function testGetFullNameAttribute() { $this->user->first_name = 'Foo'; $this->user->last_name = 'Bar'; $this->assertEquals('Foo Bar', $this->user->full_name); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/routes/web.php
routes/web.php
<?php /* |-------------------------------------------------------------------------- | Redirects |-------------------------------------------------------------------------- */ Route::get('post/{postSlug}', 'RedirectsController@getPost'); Route::get('tag/{tagSlug}', 'RedirectsController@getTag'); Route::get('archive', 'RedirectsController@getArchive'); Route::get('tags/mac%20os%20x', 'RedirectsController@getTagsMacOsX'); Route::get('tags/ruby%20on%20rails', 'RedirectsController@getTagsRubyOnRails'); /* |-------------------------------------------------------------------------- | Public routes |-------------------------------------------------------------------------- */ Route::get('/', 'PagesController@index')->name('pages.index'); Route::get('about', 'PagesController@about')->name('pages.about'); ROute::get('rss', 'PagesController@rss')->name('pages.rss'); Route::get('sitemap', 'SitemapsController@index')->name('sitemaps.index'); Route::resource('posts', 'PostsController', ['only' => ['index', 'show']]); Route::resource('series', 'SeriesController', ['only' => ['index', 'show']]); Route::resource('tags', 'TagsController', ['only' => ['index', 'show']]); Route::resource('projects', 'ProjectsController', ['only' => ['index', 'show']]); /* |-------------------------------------------------------------------------- | Admin routes |-------------------------------------------------------------------------- */ Route::group(['prefix' => 'admin', 'as' => 'admin.', 'namespace' => 'Admin'], function () { Route::get('/', 'PagesController@index')->name('pages.index'); Route::get('login', 'SessionsController@create')->name('sessions.create'); Route::post('login', 'SessionsController@store')->name('sessions.store'); Route::delete('logout', 'SessionsController@destroy')->name('sessions.destroy'); Route::resource('tags', 'TagsController', ['only' => ['index', 'store']]); Route::resource('posts', 'PostsController'); Route::resource('series', 'SeriesController'); Route::resource('projects', 'ProjectsController'); Route::resource('users', 'UsersController'); Route::get('reports', 'PagesController@reports')->name('pages.reports'); });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/routes/breadcrumbs.php
routes/breadcrumbs.php
<?php use App\Post; use App\Project; use App\Series; use App\User; // Pages Breadcrumbs::for('admin.pages.index', function ($breadcrumbs) { $breadcrumbs->add('Admin', route('admin.pages.index')); }); Breadcrumbs::for('admin.pages.reports', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Reports', route('admin.pages.reports')); }); // Posts Breadcrumbs::for('admin.posts.index', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Posts', route('admin.posts.index')); }); Breadcrumbs::for('admin.posts.create', function ($breadcrumbs) { $breadcrumbs->parent('admin.posts.index'); $breadcrumbs->add('Create', route('admin.posts.create')); }); Breadcrumbs::for('admin.posts.show', function ($breadcrumbs, Post $post) { $breadcrumbs->parent('admin.posts.index'); $breadcrumbs->add($post->title, route('admin.posts.show', $post)); }); Breadcrumbs::for('admin.posts.edit', function ($breadcrumbs, Post $post) { $breadcrumbs->parent('admin.posts.show', $post); $breadcrumbs->add('Edit', route('admin.posts.edit', $post)); }); // Projects Breadcrumbs::for('admin.projects.index', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Projects', route('admin.projects.index')); }); Breadcrumbs::for('admin.projects.create', function ($breadcrumbs) { $breadcrumbs->parent('admin.projects.index'); $breadcrumbs->add('Create', route('admin.projects.create')); }); Breadcrumbs::for('admin.projects.show', function ($breadcrumbs, Project $project) { $breadcrumbs->parent('admin.projects.index'); $breadcrumbs->add($project->name, route('admin.projects.show', $project)); }); Breadcrumbs::for('admin.projects.edit', function ($breadcrumbs, Project $project) { $breadcrumbs->parent('admin.projects.show', $project); $breadcrumbs->add('Edit', route('admin.projects.edit', $project)); }); // Series Breadcrumbs::for('admin.series.index', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Series', route('admin.series.index')); }); Breadcrumbs::for('admin.series.create', function ($breadcrumbs) { $breadcrumbs->parent('admin.series.index'); $breadcrumbs->add('Create', route('admin.series.create')); }); Breadcrumbs::for('admin.series.show', function ($breadcrumbs, Series $series) { $breadcrumbs->parent('admin.series.index'); $breadcrumbs->add($series->name, route('admin.series.show', $series)); }); Breadcrumbs::for('admin.series.edit', function ($breadcrumbs, Series $series) { $breadcrumbs->parent('admin.series.show', $series); $breadcrumbs->add('Edit', route('admin.series.edit', $series)); }); // Sessions Breadcrumbs::for('admin.sessions.create', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Login', route('admin.sessions.create')); }); // Users Breadcrumbs::for('admin.users.index', function ($breadcrumbs) { $breadcrumbs->parent('admin.pages.index'); $breadcrumbs->add('Users', route('admin.users.index')); }); Breadcrumbs::for('admin.users.create', function ($breadcrumbs) { $breadcrumbs->parent('admin.users.index'); $breadcrumbs->add('Create', route('admin.users.create')); }); Breadcrumbs::for('admin.users.show', function ($breadcrumbs, User $user) { $breadcrumbs->parent('admin.users.index'); $breadcrumbs->add($user->full_name, route('admin.users.show', $user->id)); }); Breadcrumbs::for('admin.users.edit', function ($breadcrumbs, User $user) { $breadcrumbs->parent('admin.users.show', $user); $breadcrumbs->add('Edit', route('admin.users.edit', $user->id)); });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/routes/channels.php
routes/channels.php
<?php /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application supports. The given channel authorization callbacks are | used to check if an authenticated user can listen to the channel. | */ Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/routes/api.php
routes/api.php
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | is assigned the "api" middleware group. Enjoy building your API! | */ Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/routes/console.php
routes/console.php
<?php use Illuminate\Foundation\Inspiring; /* |-------------------------------------------------------------------------- | Console Routes |-------------------------------------------------------------------------- | | This file is where you may define all of your Closure based console | commands. Each Closure is bound to a command instance allowing a | simple approach to interacting with each command's IO methods. | */ Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); })->describe('Display an inspiring quote');
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/public/index.php
public/index.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! We'll simply require it | into the script here so that we don't have to worry about manual | loading any of our classes later on. It feels great to relax. | */ require __DIR__.'/../vendor/autoload.php'; /* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | */ $app = require_once __DIR__.'/../bootstrap/app.php'; /* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the client's browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */ $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); $response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); $response->send(); $kernel->terminate($request, $response);
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/app.php
config/app.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to place the application's name in a notification or | any other location as required by the application or its packages. | */ 'name' => env('APP_NAME', 'Neon Tsunami'), /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This may determine how you prefer to configure various | services your application utilizes. Set this in your ".env" file. | */ 'env' => env('APP_ENV', 'production'), /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on every error that occurs within your | application. If disabled, a simple generic error page is shown. | */ 'debug' => env('APP_DEBUG', false), /* |-------------------------------------------------------------------------- | Application URL |-------------------------------------------------------------------------- | | This URL is used by the console to properly generate URLs when using | the Artisan command line tool. You should set this to the root of | your application so that it is used when running Artisan tasks. | */ 'url' => env('APP_URL', 'http://www.neontsunami.com'), /* |-------------------------------------------------------------------------- | Application Timezone |-------------------------------------------------------------------------- | | Here you may specify the default timezone for your application, which | will be used by the PHP date and date-time functions. We have gone | ahead and set this to a sensible default for you out of the box. | */ 'timezone' => 'Australia/Sydney', /* |-------------------------------------------------------------------------- | Application Locale Configuration |-------------------------------------------------------------------------- | | The application locale determines the default locale that will be used | by the translation service provider. You are free to set this value | to any of the locales which will be supported by the application. | */ 'locale' => 'en', /* |-------------------------------------------------------------------------- | Application Fallback Locale |-------------------------------------------------------------------------- | | The fallback locale determines the locale to use when the current one | is not available. You may change the value to correspond to any of | the language folders that are provided through your application. | */ 'fallback_locale' => 'en', /* |-------------------------------------------------------------------------- | Encryption Key |-------------------------------------------------------------------------- | | This key is used by the Illuminate encrypter service and should be set | to a random, 32 character string, otherwise these encrypted strings | will not be safe. Please do this before deploying an application! | */ 'key' => env('APP_KEY'), 'cipher' => 'AES-256-CBC', /* |-------------------------------------------------------------------------- | Autoloaded Service Providers |-------------------------------------------------------------------------- | | The service providers listed here will be automatically loaded on the | request to your application. Feel free to add your own services to | this array to grant expanded functionality to your applications. | */ 'providers' => [ /* * Laravel Framework Service Providers... */ Illuminate\Auth\AuthServiceProvider::class, Illuminate\Broadcasting\BroadcastServiceProvider::class, Illuminate\Bus\BusServiceProvider::class, Illuminate\Cache\CacheServiceProvider::class, Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, Illuminate\Cookie\CookieServiceProvider::class, Illuminate\Database\DatabaseServiceProvider::class, Illuminate\Encryption\EncryptionServiceProvider::class, Illuminate\Filesystem\FilesystemServiceProvider::class, Illuminate\Foundation\Providers\FoundationServiceProvider::class, Illuminate\Hashing\HashServiceProvider::class, Illuminate\Mail\MailServiceProvider::class, Illuminate\Notifications\NotificationServiceProvider::class, Illuminate\Pagination\PaginationServiceProvider::class, Illuminate\Pipeline\PipelineServiceProvider::class, Illuminate\Queue\QueueServiceProvider::class, Illuminate\Redis\RedisServiceProvider::class, Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, Illuminate\Session\SessionServiceProvider::class, Illuminate\Translation\TranslationServiceProvider::class, Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, /* * Package Service Providers... */ /* * Application Service Providers... */ App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, ], /* |-------------------------------------------------------------------------- | Class Aliases |-------------------------------------------------------------------------- | | This array of class aliases will be registered when this application | is started. However, feel free to register as many as you wish as | the aliases are "lazy" loaded so they don't hinder performance. | */ 'aliases' => [ 'App' => Illuminate\Support\Facades\App::class, 'Artisan' => Illuminate\Support\Facades\Artisan::class, 'Auth' => Illuminate\Support\Facades\Auth::class, 'Blade' => Illuminate\Support\Facades\Blade::class, 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, 'Bus' => Illuminate\Support\Facades\Bus::class, 'Cache' => Illuminate\Support\Facades\Cache::class, 'Config' => Illuminate\Support\Facades\Config::class, 'Cookie' => Illuminate\Support\Facades\Cookie::class, 'Crypt' => Illuminate\Support\Facades\Crypt::class, 'DB' => Illuminate\Support\Facades\DB::class, 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 'Event' => Illuminate\Support\Facades\Event::class, 'File' => Illuminate\Support\Facades\File::class, 'Gate' => Illuminate\Support\Facades\Gate::class, 'Hash' => Illuminate\Support\Facades\Hash::class, 'Lang' => Illuminate\Support\Facades\Lang::class, 'Log' => Illuminate\Support\Facades\Log::class, 'Mail' => Illuminate\Support\Facades\Mail::class, 'Notification' => Illuminate\Support\Facades\Notification::class, 'Password' => Illuminate\Support\Facades\Password::class, 'Queue' => Illuminate\Support\Facades\Queue::class, 'Redirect' => Illuminate\Support\Facades\Redirect::class, 'Redis' => Illuminate\Support\Facades\Redis::class, 'Request' => Illuminate\Support\Facades\Request::class, 'Response' => Illuminate\Support\Facades\Response::class, 'Route' => Illuminate\Support\Facades\Route::class, 'Schema' => Illuminate\Support\Facades\Schema::class, 'Session' => Illuminate\Support\Facades\Session::class, 'Storage' => Illuminate\Support\Facades\Storage::class, 'URL' => Illuminate\Support\Facades\URL::class, 'Validator' => Illuminate\Support\Facades\Validator::class, 'View' => Illuminate\Support\Facades\View::class, ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/logging.php
config/logging.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- | | This option defines the default log channel that gets used when writing | messages to the logs. The name specified in this option should match | one of the channels defined in the "channels" configuration array. | */ 'default' => env('LOG_CHANNEL', 'stack'), /* |-------------------------------------------------------------------------- | Log Channels |-------------------------------------------------------------------------- | | Here you may configure the log channels for your application. Out of | the box, Laravel uses the Monolog PHP logging library. This gives | you a variety of powerful log handlers / formatters to utilize. | | Available Drivers: "single", "daily", "slack", "syslog", | "errorlog", "custom", "stack" | */ 'channels' => [ 'stack' => [ 'driver' => 'stack', 'channels' => ['single'], ], 'single' => [ 'driver' => 'single', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', ], 'daily' => [ 'driver' => 'daily', 'path' => storage_path('logs/laravel.log'), 'level' => 'debug', 'days' => 7, ], 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'Laravel Log', 'emoji' => ':boom:', 'level' => 'critical', ], 'syslog' => [ 'driver' => 'syslog', 'level' => 'debug', ], 'errorlog' => [ 'driver' => 'errorlog', 'level' => 'debug', ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/session.php
config/session.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be used on | requests. By default, we will use the lightweight native driver but | you may specify any of the other wonderful drivers provided here. | | Supported: "file", "cookie", "database", "apc", | "memcached", "redis", "array" | */ 'driver' => env('SESSION_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | Session Lifetime |-------------------------------------------------------------------------- | | Here you may specify the number of minutes that you wish the session | to be allowed to remain idle before it expires. If you want them | to immediately expire on the browser closing, set that option. | */ 'lifetime' => env('SESSION_LIFETIME', 120), 'expire_on_close' => false, /* |-------------------------------------------------------------------------- | Session Encryption |-------------------------------------------------------------------------- | | This option allows you to easily specify that all of your session data | should be encrypted before it is stored. All encryption will be run | automatically by Laravel and you can use the Session like normal. | */ 'encrypt' => false, /* |-------------------------------------------------------------------------- | Session File Location |-------------------------------------------------------------------------- | | When using the native session driver, we need a location where session | files may be stored. A default has been set for you but a different | location may be specified. This is only needed for file sessions. | */ 'files' => storage_path('framework/sessions'), /* |-------------------------------------------------------------------------- | Session Database Connection |-------------------------------------------------------------------------- | | When using the "database" or "redis" session drivers, you may specify a | connection that should be used to manage these sessions. This should | correspond to a connection in your database configuration options. | */ 'connection' => null, /* |-------------------------------------------------------------------------- | Session Database Table |-------------------------------------------------------------------------- | | When using the "database" session driver, you may specify the table we | should use to manage the sessions. Of course, a sensible default is | provided for you; however, you are free to change this as needed. | */ 'table' => 'sessions', /* |-------------------------------------------------------------------------- | Session Cache Store |-------------------------------------------------------------------------- | | When using the "apc" or "memcached" session drivers, you may specify a | cache store that should be used for these sessions. This value must | correspond with one of the application's configured cache stores. | */ 'store' => null, /* |-------------------------------------------------------------------------- | Session Sweeping Lottery |-------------------------------------------------------------------------- | | Some session drivers must manually sweep their storage location to get | rid of old sessions from storage. Here are the chances that it will | happen on a given request. By default, the odds are 2 out of 100. | */ 'lottery' => [2, 100], /* |-------------------------------------------------------------------------- | Session Cookie Name |-------------------------------------------------------------------------- | | Here you may change the name of the cookie used to identify a session | instance by ID. The name specified here will get used every time a | new session cookie is created by the framework for every driver. | */ 'cookie' => env( 'SESSION_COOKIE', str_slug(env('APP_NAME', 'laravel'), '_').'_session' ), /* |-------------------------------------------------------------------------- | Session Cookie Path |-------------------------------------------------------------------------- | | The session cookie path determines the path for which the cookie will | be regarded as available. Typically, this will be the root path of | your application but you are free to change this when necessary. | */ 'path' => '/', /* |-------------------------------------------------------------------------- | Session Cookie Domain |-------------------------------------------------------------------------- | | Here you may change the domain of the cookie used to identify a session | in your application. This will determine which domains the cookie is | available to in your application. A sensible default has been set. | */ 'domain' => env('SESSION_DOMAIN', null), /* |-------------------------------------------------------------------------- | HTTPS Only Cookies |-------------------------------------------------------------------------- | | By setting this option to true, session cookies will only be sent back | to the server if the browser has a HTTPS connection. This will keep | the cookie from being sent to you if it can not be done securely. | */ 'secure' => env('SESSION_SECURE_COOKIE', false), /* |-------------------------------------------------------------------------- | HTTP Access Only |-------------------------------------------------------------------------- | | Setting this value to true will prevent JavaScript from accessing the | value of the cookie and the cookie will only be accessible through | the HTTP protocol. You are free to modify this option if needed. | */ 'http_only' => true, /* |-------------------------------------------------------------------------- | Same-Site Cookies |-------------------------------------------------------------------------- | | This option determines how your cookies behave when cross-site requests | take place, and can be used to mitigate CSRF attacks. By default, we | do not enable this as other CSRF protection services are in place. | | Supported: "lax", "strict" | */ 'same_site' => null, ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/queue.php
config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Driver |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving you convenient access to each back-end using the same | syntax for each one. Here you may set the default queue driver. | | Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null" | */ 'default' => env('QUEUE_DRIVER', 'sync'), /* |-------------------------------------------------------------------------- | Queue Connections |-------------------------------------------------------------------------- | | Here you may configure the connection information for each server that | is used by your application. A default configuration has been added | for each back-end shipped with Laravel. You are free to add more. | */ 'connections' => [ 'sync' => [ 'driver' => 'sync', ], 'database' => [ 'driver' => 'database', 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 90, ], 'beanstalkd' => [ 'driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', 'retry_after' => 90, ], 'sqs' => [ 'driver' => 'sqs', 'key' => env('SQS_KEY', 'your-public-key'), 'secret' => env('SQS_SECRET', 'your-secret-key'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 'queue' => env('SQS_QUEUE', 'your-queue-name'), 'region' => env('SQS_REGION', 'us-east-1'), ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'retry_after' => 90, 'block_for' => null, ], ], /* |-------------------------------------------------------------------------- | Failed Queue Jobs |-------------------------------------------------------------------------- | | These options configure the behavior of failed queue job logging so you | can control which database and table are used to store the jobs that | have failed. You may change them to any database / table you wish. | */ 'failed' => [ 'database' => env('DB_CONNECTION', 'mysql'), 'table' => 'failed_jobs', ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/cache.php
config/cache.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used while | using this caching library. This connection is used when another is | not explicitly specified when executing a given caching function. | | Supported: "apc", "array", "database", "file", "memcached", "redis" | */ 'default' => env('CACHE_DRIVER', 'file'), /* |-------------------------------------------------------------------------- | Cache Stores |-------------------------------------------------------------------------- | | Here you may define all of the cache "stores" for your application as | well as their drivers. You may even define multiple stores for the | same cache driver to group types of items stored in your caches. | */ 'stores' => [ 'apc' => [ 'driver' => 'apc', ], 'array' => [ 'driver' => 'array', ], 'database' => [ 'driver' => 'database', 'table' => 'cache', 'connection' => null, ], 'file' => [ 'driver' => 'file', 'path' => storage_path('framework/cache/data'), ], 'memcached' => [ 'driver' => 'memcached', 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 'sasl' => [ env('MEMCACHED_USERNAME'), env('MEMCACHED_PASSWORD'), ], 'options' => [ // Memcached::OPT_CONNECT_TIMEOUT => 2000, ], 'servers' => [ [ 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 'port' => env('MEMCACHED_PORT', 11211), 'weight' => 100, ], ], ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', ], ], /* |-------------------------------------------------------------------------- | Cache Key Prefix |-------------------------------------------------------------------------- | | When utilizing a RAM based store such as APC or Memcached, there might | be other applications utilizing the same cache. So, we'll specify a | value to get prefixed to all our keys so we can avoid collisions. | */ 'prefix' => env( 'CACHE_PREFIX', str_slug(env('APP_NAME', 'laravel'), '_').'_cache' ), ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/hashing.php
config/hashing.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Hash Driver |-------------------------------------------------------------------------- | | This option controls the default hash driver that will be used to hash | passwords for your application. By default, the bcrypt algorithm is | used; however, you remain free to modify this option if you wish. | | Supported: "bcrypt", "argon" | */ 'driver' => 'bcrypt', ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/view.php
config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that should be checked for your views. Of course | the usual Laravel view path has already been registered for you. | */ 'paths' => [ resource_path('views'), ], /* |-------------------------------------------------------------------------- | Compiled View Path |-------------------------------------------------------------------------- | | This option determines where all the compiled Blade templates will be | stored for your application. Typically, this is within the storage | directory. However, as usual, you are free to change this value. | */ 'compiled' => realpath(storage_path('framework/views')), ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/database.php
config/database.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections below you wish | to use as your default connection for all database work. Of course | you may use many connections at once using the Database library. | */ 'default' => env('DB_CONNECTION', 'mysql'), /* |-------------------------------------------------------------------------- | Database Connections |-------------------------------------------------------------------------- | | Here are each of the database connections setup for your application. | Of course, examples of configuring each database platform that is | supported by Laravel is shown below to make development simple. | | | All database work in Laravel is done through the PHP PDO facilities | so make sure you have the driver for your particular database of | choice installed on your machine before you begin development. | */ 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', ], 'mysql' => [ 'driver' => 'mysql', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, ], 'pgsql' => [ 'driver' => 'pgsql', 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '5432'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', 'prefix' => '', 'schema' => 'public', 'sslmode' => 'prefer', ], 'sqlsrv' => [ 'driver' => 'sqlsrv', 'host' => env('DB_HOST', 'localhost'), 'port' => env('DB_PORT', '1433'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'charset' => 'utf8', 'prefix' => '', ], ], /* |-------------------------------------------------------------------------- | Migration Repository Table |-------------------------------------------------------------------------- | | This table keeps track of all the migrations that have already run for | your application. Using this information, we can determine which of | the migrations on disk haven't actually been run in the database. | */ 'migrations' => 'migrations', /* |-------------------------------------------------------------------------- | Redis Databases |-------------------------------------------------------------------------- | | Redis is an open source, fast, and advanced key-value store that also | provides a richer set of commands than a typical key-value systems | such as APC or Memcached. Laravel makes it easy to dig right in. | */ 'redis' => [ 'client' => 'predis', 'default' => [ 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), 'port' => env('REDIS_PORT', 6379), 'database' => 0, ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/services.php
config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, SparkPost and others. This file provides a sane | default location for this type of information, allowing packages | to have a conventional place to find your various credentials. | */ 'mailgun' => [ 'domain' => env('MAILGUN_DOMAIN'), 'secret' => env('MAILGUN_SECRET'), ], 'ses' => [ 'key' => env('SES_KEY'), 'secret' => env('SES_SECRET'), 'region' => 'us-east-1', ], 'sparkpost' => [ 'secret' => env('SPARKPOST_SECRET'), ], 'stripe' => [ 'model' => App\User::class, 'key' => env('STRIPE_KEY'), 'secret' => env('STRIPE_SECRET'), ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/filesystems.php
config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. The "local" disk, as well as a variety of cloud | based disks are available to your application. Just store away! | */ 'default' => env('FILESYSTEM_DRIVER', 'local'), /* |-------------------------------------------------------------------------- | Default Cloud Filesystem Disk |-------------------------------------------------------------------------- | | Many applications store files both locally and in the cloud. For this | reason, you may specify a default "cloud" driver here. This driver | will be bound as the Cloud disk implementation in the container. | */ 'cloud' => env('FILESYSTEM_CLOUD', 's3'), /* |-------------------------------------------------------------------------- | Filesystem Disks |-------------------------------------------------------------------------- | | Here you may configure as many filesystem "disks" as you wish, and you | may even configure multiple disks of the same driver. Defaults have | been setup for each driver as an example of the required options. | | Supported Drivers: "local", "ftp", "s3", "rackspace" | */ 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), ], 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ], 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION'), 'bucket' => env('AWS_BUCKET'), 'url' => env('AWS_URL'), ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/mail.php
config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you're using throughout | your application here. By default, Laravel is setup for SMTP mail. | | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses", | "sparkpost", "log", "array" | */ 'driver' => env('MAIL_DRIVER', 'smtp'), /* |-------------------------------------------------------------------------- | SMTP Host Address |-------------------------------------------------------------------------- | | Here you may provide the host address of the SMTP server used by your | applications. A default option is provided that is compatible with | the Mailgun mail service which will provide reliable deliveries. | */ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), /* |-------------------------------------------------------------------------- | SMTP Host Port |-------------------------------------------------------------------------- | | This is the SMTP port used by your application to deliver e-mails to | users of the application. Like the host we have set this value to | stay compatible with the Mailgun e-mail application by default. | */ 'port' => env('MAIL_PORT', 587), /* |-------------------------------------------------------------------------- | Global "From" Address |-------------------------------------------------------------------------- | | You may wish for all e-mails sent by your application to be sent from | the same address. Here, you may specify a name and address that is | used globally for all e-mails that are sent by your application. | */ 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], /* |-------------------------------------------------------------------------- | E-Mail Encryption Protocol |-------------------------------------------------------------------------- | | Here you may specify the encryption protocol that should be used when | the application send e-mail messages. A sensible default using the | transport layer security protocol should provide great security. | */ 'encryption' => env('MAIL_ENCRYPTION', 'tls'), /* |-------------------------------------------------------------------------- | SMTP Server Username |-------------------------------------------------------------------------- | | If your SMTP server requires a username for authentication, you should | set it here. This will get used to authenticate with your server on | connection. You may also set the "password" value below this one. | */ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), /* |-------------------------------------------------------------------------- | Sendmail System Path |-------------------------------------------------------------------------- | | When using the "sendmail" driver to send e-mails, we will need to know | the path to where Sendmail lives on this server. A default path has | been provided here, which will work well on most of your systems. | */ 'sendmail' => '/usr/sbin/sendmail -bs', /* |-------------------------------------------------------------------------- | Markdown Mail Settings |-------------------------------------------------------------------------- | | If you are using Markdown based email rendering, you may configure your | theme and component paths here, allowing you to customize the design | of the emails. Or, you may simply stick with the Laravel defaults! | */ 'markdown' => [ 'theme' => 'default', 'paths' => [ resource_path('views/vendor/mail'), ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/scout.php
config/scout.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Search Engine |-------------------------------------------------------------------------- | | This option controls the default search connection that gets used while | using Laravel Scout. This connection is used when syncing all models | to the search service. You should adjust this based on your needs. | | Supported: "algolia", "null" | */ 'driver' => env('SCOUT_DRIVER', 'null'), /* |-------------------------------------------------------------------------- | Index Prefix |-------------------------------------------------------------------------- | | Here you may specify a prefix that will be applied to all search index | names used by Scout. This prefix may be useful if you have multiple | "tenants" or applications sharing the same search infrastructure. | */ 'prefix' => env('SCOUT_PREFIX', ''), /* |-------------------------------------------------------------------------- | Queue Data Syncing |-------------------------------------------------------------------------- | | This option allows you to control if the operations that sync your data | with your search engines are queued. When this is set to "true" then | all automatic data syncing will get queued for better performance. | */ 'queue' => false, /* |-------------------------------------------------------------------------- | Algolia Configuration |-------------------------------------------------------------------------- | | Here you may configure your Algolia settings. Algolia is a cloud hosted | search engine which works great with Scout out of the box. Just plug | in your application ID and admin API key to get started searching. | */ 'algolia' => [ 'id' => env('ALGOLIA_APP_ID', ''), 'secret' => env('ALGOLIA_SECRET', ''), ], /* |-------------------------------------------------------------------------- | Elasticsearch Configuration |-------------------------------------------------------------------------- | | Here you may configure your settings for Elasticsearch, which is a | distributed, open source search and analytics engine. Feel free | to add as many Elasticsearch servers as required by your app. | */ 'elasticsearch' => [ 'index' => env('ELASTICSEARCH_INDEX', 'laravel'), 'config' => [ 'hosts' => [ env('ELASTICSEARCH_HOST') ], ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/broadcasting.php
config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an event needs to be broadcast. You may set this to | any of the connections defined in the "connections" array below. | | Supported: "pusher", "redis", "log", "null" | */ 'default' => env('BROADCAST_DRIVER', 'null'), /* |-------------------------------------------------------------------------- | Broadcast Connections |-------------------------------------------------------------------------- | | Here you may define all of the broadcast connections that will be used | to broadcast events to other systems or over websockets. Samples of | each available type of connection are provided inside this array. | */ 'connections' => [ 'pusher' => [ 'driver' => 'pusher', 'key' => env('PUSHER_APP_KEY'), 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), 'encrypted' => true, ], ], 'redis' => [ 'driver' => 'redis', 'connection' => 'default', ], 'log' => [ 'driver' => 'log', ], 'null' => [ 'driver' => 'null', ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/config/auth.php
config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for your application. You may change these defaults | as required, but they're a perfect start for most applications. | */ 'defaults' => [ 'guard' => 'web', 'passwords' => 'users', ], /* |-------------------------------------------------------------------------- | Authentication Guards |-------------------------------------------------------------------------- | | Next, you may define every authentication guard for your application. | Of course, a great default configuration has been defined for you | here which uses session storage and the Eloquent user provider. | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | Supported: "session", "token" | */ 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'api' => [ 'driver' => 'token', 'provider' => 'users', ], ], /* |-------------------------------------------------------------------------- | User Providers |-------------------------------------------------------------------------- | | All authentication drivers have a user provider. This defines how the | users are actually retrieved out of your database or other storage | mechanisms used by this application to persist your user's data. | | If you have multiple user tables or models you may configure multiple | sources which represent each model / table. These sources may then | be assigned to any extra authentication guards you have defined. | | Supported: "database", "eloquent" | */ 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\User::class, ], // 'users' => [ // 'driver' => 'database', // 'table' => 'users', // ], ], /* |-------------------------------------------------------------------------- | Resetting Passwords |-------------------------------------------------------------------------- | | You may specify multiple password reset configurations if you have more | than one user table or model in the application and you want to have | separate password reset settings based on the specific user types. | | The expire time is the number of minutes that the reset token should be | considered valid. This security feature keeps tokens short-lived so | they have less time to be guessed. You may change this as needed. | */ 'passwords' => [ 'users' => [ 'provider' => 'users', 'table' => 'password_resets', 'expire' => 60, ], ], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/seeds/DatabaseSeeder.php
database/seeds/DatabaseSeeder.php
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/factories/SeriesFactory.php
database/factories/SeriesFactory.php
<?php $factory->define(App\Series::class, function ($faker) { return [ 'name' => $faker->word, 'slug' => $faker->unique()->slug(1), 'description' => $faker->sentence ]; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/factories/TagFactory.php
database/factories/TagFactory.php
<?php $factory->define(App\Tag::class, function ($faker) { return [ 'name' => $faker->word, 'slug' => $faker->unique()->slug(1), ]; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/factories/ProjectFactory.php
database/factories/ProjectFactory.php
<?php $factory->define(App\Project::class, function ($faker) { return [ 'name' => $faker->word, 'slug' => $faker->unique()->slug(1), 'description' => $faker->sentence ]; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/factories/PostFactory.php
database/factories/PostFactory.php
<?php $factory->define(App\Post::class, function ($faker) { return [ 'user_id' => factory(App\User::class), 'title' => $faker->sentence, 'slug' => $faker->unique()->slug(1), 'content' => $faker->sentence, 'published_at' => $faker->date ]; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/factories/UserFactory.php
database/factories/UserFactory.php
<?php $factory->define(App\User::class, function ($faker) { static $password; return [ 'first_name' => $faker->firstName, 'last_name' => $faker->lastName, 'email' => $faker->unique()->email, 'password' => $password ?: $password = bcrypt('secret'), ]; });
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_08_23_080237_add_url_to_projects_table.php
database/migrations/2014_08_23_080237_add_url_to_projects_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddUrlToProjectsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('projects', function (Blueprint $table) { $table->string('url')->after('description')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('projects', function (Blueprint $table) { $table->dropColumn('url'); }); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_072336_create_tags_table.php
database/migrations/2014_07_06_072336_create_tags_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTagsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tags', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('slug'); $table->timestamps(); $table->softDeletes(); $table->unique('slug'); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('tags'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_072017_create_series_table.php
database/migrations/2014_07_06_072017_create_series_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSeriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('series', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('slug'); $table->text('description'); $table->timestamps(); $table->softDeletes(); $table->index('slug'); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('series'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_071825_create_posts_table.php
database/migrations/2014_07_06_071825_create_posts_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function (Blueprint $table) { $table->increments('id'); $table->integer('user_id'); $table->integer('series_id')->nullable(); $table->string('title'); $table->string('slug'); $table->text('content'); $table->integer('views')->default(0); $table->timestamps(); $table->timestamp('published_at')->nullable(); $table->softDeletes(); $table->index('user_id'); $table->index('slug'); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('posts'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_072500_create_post_tag_table.php
database/migrations/2014_07_06_072500_create_post_tag_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePostTagTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('post_tag', function (Blueprint $table) { $table->integer('post_id'); $table->integer('tag_id'); $table->timestamps(); $table->index(['post_id', 'tag_id']); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('post_tag'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_072156_create_projects_table.php
database/migrations/2014_07_06_072156_create_projects_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProjectsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('projects', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('slug'); $table->text('description'); $table->timestamps(); $table->softDeletes(); $table->index('slug'); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('projects'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/database/migrations/2014_07_06_071359_create_users_table.php
database/migrations/2014_07_06_071359_create_users_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('first_name'); $table->string('last_name'); $table->string('email'); $table->string('password', 60); $table->rememberToken(); $table->timestamps(); $table->softDeletes(); $table->unique('email'); $table->engine = 'InnoDB'; }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('users'); } }
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/lang/en/passwords.php
resources/lang/en/passwords.php
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are given by the password broker for a password update attempt | has failed, such as for an invalid token or invalid new password. | */ 'password' => 'Passwords must be at least six characters and match the confirmation.', 'reset' => 'Your password has been reset!', 'sent' => 'We have e-mailed your password reset link!', 'token' => 'This password reset token is invalid.', 'user' => "We can't find a user with that e-mail address.", ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/lang/en/pagination.php
resources/lang/en/pagination.php
<?php return [ /* |-------------------------------------------------------------------------- | Pagination Language Lines |-------------------------------------------------------------------------- | | The following language lines are used by the paginator library to build | the simple pagination links. You are free to change them to anything | you want to customize your views to better match your application. | */ 'previous' => '&laquo; Previous', 'next' => 'Next &raquo;', ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/lang/en/validation.php
resources/lang/en/validation.php
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator class. Some of these rules have multiple versions such | as the size rules. Feel free to tweak each of these messages here. | */ 'accepted' => 'The :attribute must be accepted.', 'active_url' => 'The :attribute is not a valid URL.', 'after' => 'The :attribute must be a date after :date.', 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', 'alpha' => 'The :attribute may only contain letters.', 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', 'alpha_num' => 'The :attribute may only contain letters and numbers.', 'array' => 'The :attribute must be an array.', 'before' => 'The :attribute must be a date before :date.', 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 'between' => [ 'numeric' => 'The :attribute must be between :min and :max.', 'file' => 'The :attribute must be between :min and :max kilobytes.', 'string' => 'The :attribute must be between :min and :max characters.', 'array' => 'The :attribute must have between :min and :max items.', ], 'boolean' => 'The :attribute field must be true or false.', 'confirmed' => 'The :attribute confirmation does not match.', 'date' => 'The :attribute is not a valid date.', 'date_format' => 'The :attribute does not match the format :format.', 'different' => 'The :attribute and :other must be different.', 'digits' => 'The :attribute must be :digits digits.', 'digits_between' => 'The :attribute must be between :min and :max digits.', 'dimensions' => 'The :attribute has invalid image dimensions.', 'distinct' => 'The :attribute field has a duplicate value.', 'email' => 'The :attribute must be a valid email address.', 'exists' => 'The selected :attribute is invalid.', 'file' => 'The :attribute must be a file.', 'filled' => 'The :attribute field must have a value.', 'image' => 'The :attribute must be an image.', 'in' => 'The selected :attribute is invalid.', 'in_array' => 'The :attribute field does not exist in :other.', 'integer' => 'The :attribute must be an integer.', 'ip' => 'The :attribute must be a valid IP address.', 'ipv4' => 'The :attribute must be a valid IPv4 address.', 'ipv6' => 'The :attribute must be a valid IPv6 address.', 'json' => 'The :attribute must be a valid JSON string.', 'max' => [ 'numeric' => 'The :attribute may not be greater than :max.', 'file' => 'The :attribute may not be greater than :max kilobytes.', 'string' => 'The :attribute may not be greater than :max characters.', 'array' => 'The :attribute may not have more than :max items.', ], 'mimes' => 'The :attribute must be a file of type: :values.', 'mimetypes' => 'The :attribute must be a file of type: :values.', 'min' => [ 'numeric' => 'The :attribute must be at least :min.', 'file' => 'The :attribute must be at least :min kilobytes.', 'string' => 'The :attribute must be at least :min characters.', 'array' => 'The :attribute must have at least :min items.', ], 'not_in' => 'The selected :attribute is invalid.', 'numeric' => 'The :attribute must be a number.', 'present' => 'The :attribute field must be present.', 'regex' => 'The :attribute format is invalid.', 'required' => 'The :attribute field is required.', 'required_if' => 'The :attribute field is required when :other is :value.', 'required_unless' => 'The :attribute field is required unless :other is in :values.', 'required_with' => 'The :attribute field is required when :values is present.', 'required_with_all' => 'The :attribute field is required when :values is present.', 'required_without' => 'The :attribute field is required when :values is not present.', 'required_without_all' => 'The :attribute field is required when none of :values are present.', 'same' => 'The :attribute and :other must match.', 'size' => [ 'numeric' => 'The :attribute must be :size.', 'file' => 'The :attribute must be :size kilobytes.', 'string' => 'The :attribute must be :size characters.', 'array' => 'The :attribute must contain :size items.', ], 'string' => 'The :attribute must be a string.', 'timezone' => 'The :attribute must be a valid zone.', 'unique' => 'The :attribute has already been taken.', 'uploaded' => 'The :attribute failed to upload.', 'url' => 'The :attribute format is invalid.', /* |-------------------------------------------------------------------------- | Custom Validation Language Lines |-------------------------------------------------------------------------- | | Here you may specify custom validation messages for attributes using the | convention "attribute.rule" to name the lines. This makes it quick to | specify a specific custom language line for a given attribute rule. | */ 'custom' => [ 'attribute-name' => [ 'rule-name' => 'custom-message', ], ], /* |-------------------------------------------------------------------------- | Custom Validation Attributes |-------------------------------------------------------------------------- | | The following language lines are used to swap attribute place-holders | with something more reader friendly such as E-Mail Address instead | of "email". This simply helps us make messages a little cleaner. | */ 'attributes' => [], ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/lang/en/auth.php
resources/lang/en/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages that we need to display to the user. You are free to modify | these language lines according to your application's requirements. | */ 'failed' => 'These credentials do not match our records.', 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', ];
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/_header.blade.php
resources/views/_header.blade.php
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{!! isset($title) ? e($title) . " &mdash; Neon Tsunami" : "Neon Tsunami" !!}</title> <link rel="stylesheet" href="{{ mix('css/app.css') }}"> <link rel="icon" type="image/png" href="{{ asset('images/favicon.png') }}"> <meta name="description" content="{!! $description or 'A blog on web development, focused on frameworks like Swift, Laravel, Ruby on Rails and Angular by Dwight Watson.' !!}"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta property="og:site_name" content="Neon Tsunami"> @yield('head') <meta name="csrf-param" content="_token"/> <meta name="csrf-token" content="{{ csrf_token() }}"> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-23727271-4', 'neontsunami.com'); ga('require', 'displayfeatures'); ga('send', 'pageview'); </script> </head> <body class="{{ controller_name() }} {{ action_name() }}"> <div id="app" class="container">
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/_footer.blade.php
resources/views/_footer.blade.php
</div> </div> <script src="{{ active('admin.*') ? mix('js/admin/app.js') : mix('js/app.js') }}"></script> </body> </html>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/app.blade.php
resources/views/app.blade.php
@include('_header') <div class="row"> <header class="col-sm-4 col-md-3"> <h1><a href="{{ route('pages.index') }}">Neon Tsunami</a></h1> <h2>A blog on Laravel &amp; Rails</h2> <p class="author">By Dwight Conrad Watson</p> </header> </div> <div class="row"> <div class="col-sm-4 col-md-3"> <ul class="menu"> <li class="{{ active('posts.index') }}"> <a href="{{ route('posts.index') }}">Posts</a> </li> <li class="{{ active('series.*') }}"> <a href="{{ route('series.index') }}">Series</a> </li> <li class="{{ active('tags.*') }}"> <a href="{{ route('tags.index') }}">Tags</a> </li> <li class="{{ active('projects.*') }}"> <a href="{{ route('projects.index') }}">Projects</a> </li> <li class="{{ active('pages.about') }}"> <a href="{{ route('pages.about') }}">About</a> </li> <li> <a href="https://github.com/dwightwatson/neontsunami">Fork</a> </li> <li> <a href="{{ route('pages.rss') }}">RSS</a> </li> </ul> <autocomplete algolia-logo="{{ asset('images/algolia.jpg') }}"></autocomplete> </div> <section id="content" class="col-sm-8 col-md-6"> @yield('content') <footer> <ul class="list-inline"> <li> <a href="https://www.facebook.com/dwightconradwatson">Facebook</a> </li> <li> <a href="http://au.linkedin.com/in/dwightconradwatson">LinkedIn</a> </li> <li> <a href="https://github.com/dwightwatson">GitHub</a> </li> <li> <a href="http://www.twitter.com/DwightConrad">Twitter</a> </li> <li> <a href="https://plus.google.com/u/0/101067519899037222061?rel=author">Google+</a> </li> </ul> </footer> </section> </div> @include('_footer')
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/errors/503.blade.php
resources/views/errors/503.blade.php
<!DOCTYPE html> <html> <head> <title>Be right back.</title> <link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css"> <style> html, body { height: 100%; } body { margin: 0; padding: 0; width: 100%; color: #B0BEC5; display: table; font-weight: 100; font-family: 'Lato', sans-serif; } .container { text-align: center; display: table-cell; vertical-align: middle; } .content { text-align: center; display: inline-block; } .title { font-size: 72px; margin-bottom: 40px; } </style> </head> <body> <div class="container"> <div class="content"> <div class="title">Be right back.</div> </div> </div> </body> </html>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/emails/password.blade.php
resources/views/emails/password.blade.php
Click here to reset your password: {{ url('password/reset/'.$token) }}
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/pages/missing.blade.php
resources/views/pages/missing.blade.php
@extends('app') @section('content') <div class="page-header"> <h3>Not found</h3> </div> <p class="lead">Sorry, we couldn't find what you were looking for.</p> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/pages/index.blade.php
resources/views/pages/index.blade.php
@extends('app') @section('content') <div class="page-header"> <h3>Recent posts</h3> </div> @each('posts._post', $latestPosts, 'post') <a href="{{ route('posts.index') }}">Read more recent posts <span class="glyphicon glyphicon-chevron-right"></span></a> <h4>Most popular posts</h4> @each('posts._post', $popularPosts, 'post') <a href="{{ route('posts.index') }}">Read more posts <span class="glyphicon glyphicon-chevron-right"></span></a> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/pages/rss.blade.php
resources/views/pages/rss.blade.php
{!! '<?xml version="1.0"?>' !!} <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>Neon Tsunami</title> <link>{{ route('pages.index') }}</link> <atom:link href="{{ route('pages.rss') }}" rel="self" type="application/rss+xml" /> <description></description> <copyright>{{ route('pages.index') }}</copyright> <ttl>30</ttl> @foreach ($posts as $post) <item> <title>{{ $post->title }}</title> <description> {!! htmlspecialchars($post->parsed_content) !!} </description> <link>{{ route('posts.show', $post) }}</link> <guid isPermaLink="true">{{ route('posts.show', $post) }}</guid> <pubDate>{{ $post->published_at }}</pubDate> </item> @endforeach </channel> </rss>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/pages/about.blade.php
resources/views/pages/about.blade.php
@extends('app') @section('content') <div class="page-header"> <h3>About</h3> </div> <img src="{{ asset('images/dwight-conrad-watson.jpg') }}" alt="Dwight Conrad Watson" class="img-responsive"> <p class="lead">I'm a web developer based in <strong>Sydney, Australia</strong> with a keen interest in frameworks like <a href="http://laravel.com/" title="Laravel">Laravel</a>, <a href="http://rubyonrails.org/" title="Ruby on Rails">Ruby On Rails</a> and <a href="https://angularjs.org/" title="AngularJS">AngularJS</a>. I manage a number of high-traffic websites and apps including <a href="https://studentvip.com.au">StudentVIP</a>, <a href="https://lostoncampus.com.au">Lost On Campus</a> and <a href="https://www.timetableexchange.com.au">Timetable Exchange</a>. I also enjoy contributing to and maintaining my own <a href="https://github.com/dwightwatson">open-source projects</a>.</p> <p>I built this blog to document some of the interesting problems I deal with in my day to day work as a web developer, as well as showcase the solutions and packages I've built to solve common issues. I've released the source code for this blog as an <a href="https://github.com/dwightwatson/neontsunami">open source repository</a> to assist others in looking how a fully fleshed &amp; tested Laravel app comes together and I'm particularly proud of <a href="https://github.com/dwightwatson/validating">my validating package</a>.</p> <p>If you're interested in getting in touch, feel free to hit me up on <a href="http://au.linkedin.com/in/dwightconradwatson">LinkedIn</a> or <a href="http://www.twitter.com/DwightConrad">Twitter</a>.</p> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/app.blade.php
resources/views/admin/app.blade.php
@include('_header') <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> <div class="container"> <a href="{{ route('admin.pages.index') }}" class="navbar-brand">Neon Tsunami</a> @if (Auth::check()) <ul class="nav navbar-nav"> <li class="{{ active('admin.posts.*') }}"> <a href="{{ route('admin.posts.index') }}">Posts</a> </li> <li class="{{ active('admin.series.*') }}"> <a href="{{ route('admin.series.index') }}">Series</a> </li> <li class="{{ active('admin.projects.*') }}"> <a href="{{ route('admin.projects.index') }}">Projects</a> </li> <li class="{{ active('admin.users.*') }}"> <a href="{{ route('admin.users.index') }}">Users</a> </li> <li class="{{ active('admin.pages.reports') }}"> <a href="{{ route('admin.pages.reports') }}">Reports</a> </li> </ul> <ul class="nav navbar-nav navbar-right"> <li> <a href="{{ route('pages.index') }}"> <span class="glyphicon glyphicon-chevron-left"></span> Back to site </a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <span class="glyphicon glyphicon-user"></span> {{ Auth::user()->full_name }} <span class="caret"></span> </a> <ul class="dropdown-menu" role="menu"> <li> <a href="{{ route('admin.users.show', auth()->user()) }}">Account</a> </li> <li> <a href="{{ route('admin.sessions.destroy') }}" data-method="delete">Logout</a> </li> </ul> </li> </ul> @endif </div> </nav> @yield('breadcrumbs') @if (session()->has('success')) <div class="alert alert-success">{{ session()->get('success') }}</div> @endif @if (session()->has('info')) <div class="alert alert-info">{{ session()->get('info') }}</div> @endif @if (session()->has('error')) <div class="alert alert-danger">{{ session()->get('error') }}</div> @endif @yield('content') @include('_footer')
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/pages/index.blade.php
resources/views/admin/pages/index.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.pages.index')) @section('content') <div class="row"> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading"> <span class="glyphicon glyphicon-file"></span> Posts <span class="badge pull-right">{{ $postsCount ? number_format($postsCount) : null }}</span> </div> <ul class="list-group"> <a href="{{ route('admin.posts.index') }}" class="list-group-item">All posts</a> <a href="{{ route('admin.posts.create') }}" class="list-group-item">New post</a> </ul> </div> </div> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading"> <span class="glyphicon glyphicon-list"></span> Series <span class="badge pull-right">{{ $seriesCount ? number_format($seriesCount) : null }}</span> </div> <ul class="list-group"> <a href="{{ route('admin.series.index') }}" class="list-group-item">All series</a> <a href="{{ route('admin.series.create') }}" class="list-group-item">New series</a> </ul> </div> </div> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading"> <span class="glyphicon glyphicon-briefcase"></span> Projects <span class="badge pull-right">{{ $projectsCount ? number_format($projectsCount) : null }}</span> </div> <ul class="list-group"> <a href="{{ route('admin.projects.index') }}" class="list-group-item">All projects</a> <a href="{{ route('admin.projects.create') }}" class="list-group-item">New project</a> </ul> </div> </div> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading"> <span class="glyphicon glyphicon-user"></span> Users <span class="badge pull-right">{{ $usersCount ? number_format($usersCount) : null }}</span> </div> <ul class="list-group"> <a href="{{ route('admin.users.index') }}" class="list-group-item">All users</a> <a href="{{ route('admin.users.create') }}" class="list-group-item">New user</a> </ul> </div> </div> </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/pages/reports.blade.php
resources/views/admin/pages/reports.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.pages.reports')) @section('content') <div class="jumbotron"> <h1>Reports, coming soon.</h1> <h2>As soon as I've done everything else.</h2> </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/posts/edit.blade.php
resources/views/admin/posts/edit.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.posts.edit', $post)) @section('content') <div class="page-header"> <h3>Edit post</h3> <small> <a href="{{ route('admin.posts.show', $post) }}" class="btn-btn-default">Cancel edit</a> </small> </div> <div class="col-md-8 col-md-offset-2"> <form method="post" action="{{ route('admin.posts.update', $post) }}"> {{ csrf_field() }} {{ method_field('put') }} @include('admin.posts._form') <input type="submit" class="btn btn-primary" value="Save post"> </form> </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/posts/_form.blade.php
resources/views/admin/posts/_form.blade.php
<div class="form-group{{ $errors->has('title') ? ' has-error' : '' }}"> <label for="title" class="control-label">Title</label> <input type="text" name="title" id="title" class="form-control" value="{{ $post->title or old('title') }}"> @if ($errors->has('title')) <span class="help-block">{{ $errors->first('title') }}</strong></span> @endif </div> <div class="form-group{{ $errors->has('slug') ? ' has-error' : '' }}"> <label for="slug" class="control-label">Slug</label> <input type="text" name="slug" id="slug" class="form-control" value="{{ $post->slug or old('slug') }}"> @if ($errors->has('slug')) <span class="help-block">{{ $errors->first('slug') }}</strong></span> @endif </div> <div class="form-group{{ $errors->has('content') ? ' has-error' : '' }}"> <label for="Content" class="control-label">Content</label> <textarea name="content" id="content" class="form-control" rows="10">{{ $post->content or old('content') }}</textarea> @if ($errors->has('content')) <span class="help-block">{{ $errors->first('content') }}</strong></span> @endif </div> <div class="form-group{{ $errors->has('tags') ? ' has-error' : '' }}"> <label for="tags" class="control-label">Tags</label> <input type="text" name="tags" id="tags" class="form-control" value="{{ isset($post) ? $post->tags->pluck('name')->implode(',') : old('tags') }}"> @if ($errors->has('tags')) <span class="help-block">{{ $errors->first('tags') }}</strong></span> @endif </div> @if ($series->count()) <div class="form-group{{ $errors->has('series_id') ? ' has-error' : '' }}"> <label for="series_id" class="control-label">Series</label> <select name="series_id" id="series_id" class="form-control"> <option>Select...</option> @foreach ($series as $singleSeries) <option value="{{ $singleSeries->id }}"{{ ($post->series_id or old('series_id')) == $singleSeries->id ? 'selected' : null }}>{{ $singleSeries->name }}</option> @endforeach </select> @if ($errors->has('series_id')) <span class="help-block">{{ $errors->first('series_id') }}</strong></span> @endif </div> @endif <div class="form-group{{ $errors->has('published_at') ? ' has-error' : '' }}"> <label for="published_at" class="control-label">Published At</label> <input type="datetime" name="published_at" id="published_at" class="form-control" value="{{ isset($post) ? $post->published_at->toDateTimeString() : now()->format('Y-m-d H:i:s') }}"> @if ($errors->has('published_at')) <span class="help-block">{{ $errors->first('published_at') }}</strong></span> @endif </div>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/posts/index.blade.php
resources/views/admin/posts/index.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.posts.index')) @section('content') <div class="page-header"> <h3>All posts</h3> <small> <a href="{{ route('admin.posts.create') }}" class="btn btn-default">New post</a> </small> </div> @unless ($posts->count()) <div class="alert alert-info">There are no posts yet.</div> @else <table class="table table-striped table-bordered"> <tr> <td>Title</td> <td>Author</td> <td>Views</td> <td>Published</td> </tr> @foreach ($posts as $post) <tr> <td> <a href="{{ route('admin.posts.show', $post) }}">{{ $post->title }}</a> </td> <td> <a href="{{ route('admin.users.show', $post->user) }}">{{ $post->user->full_name }}</a> </td> <td> {{ number_format($post->views) }} </td> <td>{{ $post->published_at ? $post->published_at->diffForHumans() : 'Unpublished' }}</td> </tr> @endforeach </table> {{ $posts->render() }} @endunless @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/posts/create.blade.php
resources/views/admin/posts/create.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.posts.create')) @section('content') <div class="page-header"> <h3>New post</h3> <small> <a href="{{ route('admin.posts.index') }}" class="btn btn-default">Cancel post</a> </small> </div> <div class="col-md-8 col-md-offset-2"> <form method="post" action="{{ route('admin.posts.store') }}"> {{ csrf_field() }} @include('admin.posts._form') <input type="submit" class="btn btn-primary" value="Create post"> </form> </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/posts/show.blade.php
resources/views/admin/posts/show.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.posts.show', $post)) @section('content') <div class="page-header"> <h3>{{ $post->title }}</h3> <small> <a href="{{ route('admin.posts.edit', $post) }}" class="btn btn-default">Edit post</a> <a href="{{ route('admin.posts.destroy', $post) }}" class="btn btn-danger" data-method="delete" data-confirm="Are you sure you want to delete this post?">Delete post</a> </small> </div> <p class="lead"> Created {{ $post->created_at->diffForHumans() }} @if ($post->published_at) , published {{ $post->published_at->diffForHumans() }}. @endif </p> <div class="post-content"> {{ markdown($post->content) }} </div> @if ($post->tags->count()) <div class="post-tags"> @foreach ($post->tags as $tag) <a href="{{ route('tags.show', $tag) }}">{{ $tag->hashtag }}</a> @endforeach </div> @endif @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/sessions/create.blade.php
resources/views/admin/sessions/create.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.sessions.create')) @section('content') <div class="page-header"> <h3>Login</h3> </div> {{ Form::open(['route' => 'admin.sessions.store']) }} <div class="form-group {{ Form::hasErrors('email') }}"> {{ Form::label('email', null, ['class' => 'control-label']) }} {{ Form::email('email', null, ['class' => 'form-control', 'required']) }} {{ Form::errors('email') }} </div> <div class="form-group {{ Form::hasErrors('password') }}"> {{ Form::label('password', null, ['class' => 'control-label']) }} {{ Form::password('password', ['class' => 'form-control', 'required']) }} {{ Form::errors('password') }} </div> {{ Form::submit('Login', ['class' => 'btn btn-default']) }} {{ Form::close() }} @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/users/edit.blade.php
resources/views/admin/users/edit.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.users.edit', $user)) @section('content') <div class="page-header"> <h3>Edit user</h3> <small> <a href="{{ route('admin.users.show', $user) }}" class="btn btn-default">Cancel edit</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::model($user, ['route' => ['admin.users.update', $user], 'method' => 'put']) }} @include('admin.users._form') {{ Form::submit('Save user', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/users/_form.blade.php
resources/views/admin/users/_form.blade.php
<div class="form-group {{ Form::hasErrors('first_name') }}"> {{ Form::label('first_name', null, ['class' => 'control-label']) }} {{ Form::text('first_name', null, ['class' => 'form-control']) }} {{ Form::errors('first_name') }} </div> <div class="form-group {{ Form::hasErrors('last_name') }}"> {{ Form::label('last_name', null, ['class' => 'control-label']) }} {{ Form::text('last_name', null, ['class' => 'form-control']) }} {{ Form::errors('last_name') }} </div> <div class="form-group {{ Form::hasErrors('email') }}"> {{ Form::label('email', null, ['class' => 'control-label']) }} {{ Form::email('email', null, ['class' => 'form-control']) }} {{ Form::errors('email') }} </div> <div class="form-group {{ Form::hasErrors('password') }}"> {{ Form::label('password', null, ['class' => 'control-label']) }} {{ Form::password('password', ['class' => 'form-control']) }} {{ Form::errors('password') }} </div>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/users/index.blade.php
resources/views/admin/users/index.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.users.index')) @section('content') <div class="page-header"> <h3>All users</h3> <small> <a href="{{ route('admin.users.create') }}" class="btn btn-default">New user</a> </small> </div> @unless ($users->count()) <div class="alert alert-info">There are no users yet.</div> @else <table class="table table-striped table-bordered"> <tr> <td>Name</td> <td>Created</td> </tr> @foreach ($users as $user) <tr> <td> <a href="{{ route('admin.users.show', $user) }}">{{ $user->full_name }}</a> </td> <td>{{ $user->created_at->diffForHumans() }}</td> </tr> @endforeach </table> {{ $users->render() }} @endunless @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/users/create.blade.php
resources/views/admin/users/create.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.users.create')) @section('content') <div class="page-header"> <h3>New user</h3> <small> <a href="{{ route('admin.users.index') }}" class="btn btn-default">Cancel user</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::open(['route' => 'admin.users.store']) }} @include('admin.users._form') {{ Form::submit('Create user', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/users/show.blade.php
resources/views/admin/users/show.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.users.show', $user)) @section('content') <div class="page-header"> <h3>{{ $user->full_name }}</h3> <small> <a href="{{ route('admin.users.edit', $user) }}" class="btn btn-default">Edit user</a> <a href="{{ route('admin.users.destroy', $user) }}" class="btn btn-danger" data-method="delete" data-method="Are you sure you want to delete this user?">Delete user</a> </small> </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/projects/edit.blade.php
resources/views/admin/projects/edit.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.projects.edit', $project)) @section('content') <div class="page-header"> <h3>Edit project</h3> <small> <a href="{{ route('admin.projects.show', $project) }}" class="btn btn-default">Cancel edii</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::model($project, ['route' => ['admin.projects.update', $project], 'method' => 'put']) }} @include('admin.projects._form') {{ Form::submit('Save project', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/projects/_form.blade.php
resources/views/admin/projects/_form.blade.php
<div class="form-group {{ Form::hasErrors('name') }}"> {{ Form::label('name', null, ['class' => 'control-label']) }} {{ Form::text('name', null, ['class' => 'form-control']) }} {{ Form::errors('name') }} </div> <div class="form-group {{ Form::hasErrors('slug') }}"> {{ Form::label('slug', null, ['class' => 'control-label']) }} {{ Form::text('slug', null, ['class' => 'form-control']) }} {{ Form::errors('slug') }} </div> <div class="form-group {{ Form::hasErrors('url') }}"> {{ Form::label('url', 'URL', ['class' => 'control-label']) }} {{ Form::text('url', null, ['class' => 'form-control']) }} {{ Form::errors('url') }} </div> <div class="form-group {{ Form::hasErrors('description') }}"> {{ Form::label('description', null, ['class' => 'control-label']) }} {{ Form::textarea('description', null, ['class' => 'form-control', 'rows' => 5]) }} {{ Form::errors('description') }} </div>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/projects/index.blade.php
resources/views/admin/projects/index.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.projects.index')) @section('content') <div class="page-header"> <h3>All projects</h3> <small> <a href="{{ route('admin.projects.create') }}" class="btn btn-default">New project</a> </small> </div> @unless ($projects->count()) <div class="alert alert-info">There are no projects yet.</div> @else <table class="table table-striped table-bordered"> <tr> <td>Name</td> <td>Created</td> </tr> @foreach ($projects as $project) <tr> <td> <a href="{{ route('admin.projects.show', $project) }}">{{ $project->name }}</a> </td> <td>{{ $project->created_at->diffForHumans() }}</td> </tr> @endforeach </table> {{ $projects->render() }} @endunless @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/projects/create.blade.php
resources/views/admin/projects/create.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.projects.create')) @section('content') <div class="page-header"> <h3>New project</h3> <small> <a href="{{ route('admin.projects.index') }}" class="btn btn-default">Cancel project</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::open(['route' => 'admin.projects.store']) }} @include('admin.projects._form') {{ Form::submit('Create project', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/projects/show.blade.php
resources/views/admin/projects/show.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.projects.show', $project)) @section('content') <div class="page-header"> <h3>{{ $project->name }}</h3> <small> <a href="{{ route('admin.projects.edit', $project) }}" class="btn btn-default">Edit project</a> <a href="{{ route('admin.projects.destroy', $project) }}" class="btn btn-danger" data-method="delete" data-confirm="Are you sure you want to delete this project?">Delete project</a> </small> </div> <div class="project-description"> {{ markdown($project->description) }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/series/edit.blade.php
resources/views/admin/series/edit.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.series.edit', $series)) @section('content') <div class="page-header"> <h3>Edit series</h3> <small> <a href="{{ route('admin.series.show', $series) }}" class="btn btn-default">Cancel edit</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::model($series, ['route' => ['admin.series.update', $series], 'method' => 'put']) }} @include('admin.series._form') {{ Form::submit('Save series', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/series/_form.blade.php
resources/views/admin/series/_form.blade.php
<div class="form-group {{ Form::hasErrors('name') }}"> {{ Form::label('name', null, ['class' => 'control-label']) }} {{ Form::text('name', null, ['class' => 'form-control']) }} {{ Form::errors('name') }} </div> <div class="form-group {{ Form::hasErrors('slug') }}"> {{ Form::label('slug', null, ['class' => 'control-label']) }} {{ Form::text('slug', null, ['class' => 'form-control']) }} {{ Form::errors('slug') }} </div> <div class="form-group {{ Form::hasErrors('description') }}"> {{ Form::label('description', null, ['class' => 'control-label']) }} {{ Form::textarea('description', null, ['class' => 'form-control', 'rows' => 5]) }} {{ Form::errors('description') }} </div>
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/series/index.blade.php
resources/views/admin/series/index.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.series.index')) @section('content') <div class="page-header"> <h3>All series</h3> <small> <a href="{{ route('admin.series.create') }}" class="btn btn-default">New series</a> </small> </div> @unless ($series->count()) <div class="alert alert-info">There are no series yet.</div> @else <table class="table table-striped table-bordered"> <tr> <td>Name</td> <td>Created</td> </tr> @foreach ($series as $singleSeries) <tr> <td> <a href="{{ route('admin.series.show', $singleSeries) }}">{{ $singleSeries->name }}</a> </td> <td>{{ $singleSeries->created_at->diffForHumans() }}</td> </tr> @endforeach </table> {{ $series->render() }} @endunless @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/series/create.blade.php
resources/views/admin/series/create.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.series.create')) @section('content') <div class="page-header"> <h3>New series</h3> <small> <a href="{{ route('admin.series.index') }}" class="btn btn-default">Cancel series</a> </small> </div> <div class="col-md-8 col-md-offset-2"> {{ Form::open(['route' => 'admin.series.store']) }} @include('admin.series._form') {{ Form::submit('Create series', ['class' => 'btn btn-primary']) }} {{ Form::close() }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/admin/series/show.blade.php
resources/views/admin/series/show.blade.php
@extends('admin.app') @section('breadcrumbs', Breadcrumbs::render('admin.series.show', $series)) @section('content') <div class="page-header"> <h3>{{ $series->name }}</h3> <small> <a href="{{ route('admin.series.edit', $series) }}" class="btn btn-default">Edit series</a> <a href="{{ route('admin.series.destroy', $series) }}" class="btn btn-danger" data-method="delete" data-confirm="Are you sure you want to delete this series?">Delete series</a> </small> </div> <div class="series-description"> {{ $series->description }} </div> @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/tags/_tag.blade.php
resources/views/tags/_tag.blade.php
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false
dwightwatson/neontsunami-laravel
https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/resources/views/tags/index.blade.php
resources/views/tags/index.blade.php
@extends('app') @section('content') <div class="page-header"> <h3>Tags</h3> </div> <p class="lead">Tag cloud built using my {{ link_to('https://github.com/dwightwatson/taggly', 'Taggly') }} package.</p> @unless ($tags->count()) <div class="alert alert-info"> <strong>Oops!</strong> There are no tags yet, please come back soon for more content. </div> @else <div class="clearfix"> {!! Taggly::cloud($taggly) !!} </div> @endunless @stop
php
MIT
fb39bdca9f6f7794d010e1229f26ea69419af1ec
2026-01-05T04:41:26.570282Z
false