Skip to content

Instantly share code, notes, and snippets.

View w1lldone's full-sized avatar

Wildan Ainurrahman w1lldone

  • Indonesia
View GitHub Profile
@w1lldone
w1lldone / httpd-vhosts.conf
Created August 4, 2020 07:24
Linux Xampp Virtual Host Example
<VirtualHost 127.0.0.2:80>
ServerName hibahbpp.me
DocumentRoot /home/dyas/Projects/bpphibah/public
DirectoryIndex index.php
<Directory /home/dyas/Projects/bpphibah>
Require all granted
AllowOverride All
</Directory>
</VirtualHost>
@w1lldone
w1lldone / laravel-rest-mode.md
Last active February 11, 2020 13:02
Laravel Full REST Mode

Laravel Setup For Full REST Mode

This is my setup for full REST model Laravel projects Source: Laracon US 2018: TJ Miller - APIs With Laravel @14:40

Remove middleware Files

Go To app/Http/Kernel.php and remove these middlewares.

  • \App\Http\Middleware\EncryptCookies::class
  • Redirect If Authenticated
  • \App\Http\Middleware\VerifyCsrfToken::class