lumen   209

« earlier    

Home - jwt-auth
Even though Laravel 5.5 has introduced its Passport feature this library might still have some use for its ability to support multiple Laravel authentication guards.
jwt-auth  laravel  library  json  web  token  authentication  php  project  lumen  documentation  guide  reference  tutorial  quickstart 
february 2019 by racl101
Steps to enable CORS on a Lumen API Backend | Codementor
<?php
namespace App\Http\Middleware;

use Closure;

class CorsMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$headers = [
'Access-Control-Allow-Origin' => '*',
'Access-Control-Allow-Methods' => 'POST, GET, OPTIONS, PUT, DELETE',
'Access-Control-Allow-Credentials' => 'true',
'Access-Control-Max-Age' => '86400',
'Access-Control-Allow-Headers' => 'Content-Type, Authorization, X-Requested-With'
];

if ($request->isMethod('OPTIONS'))
{
return response()->json('{"method":"OPTIONS"}', 200, $headers);
}

$response = $next($request);
foreach($headers as $key => $value)
{
$response->header($key, $value);
}

%2
lumen  cors 
february 2019 by overloader
barryvdh/laravel-ide-helper: Laravel IDE Helper
This package generates a file that your IDE understands, so it can provide accurate autocompletion. Generation is done based on the files in your project, so they are always up-to-date. If you don't want to generate it, you can add a pre-generated file to the root folder of your Laravel project (but this isn't as up-to-date as self generated files).
editor  ide  laravel  phpstorm  lumen  tools 
january 2019 by mwolffhh

« earlier    

related tags

/etc/nginx/nginx.conf  1770s  1846  1850s  1860  1st  2012  404  6  access_log  add  admin  and  angular  api  architecture  artisan  auth  authentication  authorization  autoload  aws  balancer  basic  be?  beanstalk  blade  blog  bofh  bookmarks_bar  bright  browser  bugsnag  cakephp  calculator  can  candle  candlepower  candles  caveat  cdn  ceiling  certificate  chaining  changing  cheatsheet  class  classes  classname  codeigniter  collaboration  color  command  commercial  comparison  composer.json  composer  config  configuration  configurator  connections  consumption  controller  cors  create  custom  dashboard  data  database  datenbank  delaying  devops  differences  docker  documentation  down  downlight  drive  drupal  dump  editor  elastic  electric  eloquent  ember.js  enable  encrypt  encryption  energy  environment  error  error_log  errors  example  except  exception  exclusion  explanation  file  filesystem  filters  fix  fly  focal  forum  fpm  framework  free  fully  generate  generator  genertors  get  github-starred  github  gloeilamp  google  gotcha  grafana  graphql  guide  hack  heat  heimkino  how  howto  http  i18n  ide  in.  industrial  industrialrevolution  integrated  integration  issue  javascript  json  jwt-auth  jwt  kerosene  key  kit-53801101  lamp  laracasts  laravel  laravel5.5  laravel5  led  less  let's  library  light  lighting  lisp  lm  load  logging  lumen5.1  lumen5.2  lumen5.4  lumen5.5  lux  maintenance  medium  memcached  microservices  middleware  minimalism  mining  mobile  mode  modeling  models  module  multiple  multitenancy  my  networking  newrelic  nginx  nit  no  node.js  not  oauth  oil  onlinetools  opensource  ops  orm  package  packagist  page  parameters  pass  patterns  peakoil  performance  petroleum  php  phpstorm  point  power  previous  processing  productivity  programming  project  proxy  proxypass  ps4  qualified  queue  quickstart  react  recessed  rechner  reference  render  repository  resource  responses  rest  restful  reverse  rope  route  routes  routing  sample  scaling  secret  security  selectable  server  setting  shell  should  showing  slim  soap  software  solution  speed  spermaceti  spermwhale  spreadsheet  sql  stackoverflow  standard  strategy  streetlamp  support  swagger  symfony  system  t60  tape  temperature  testing  textile  tocheckout  todo  token  tokenmismatch  tolearn  toolkit  tools  toread  totry  tounderstand  translation  troubleshoot  troubleshooting  tuneable  tuning  tutorial  tymon  unit  up  url  user  uuid  variable  views  vue.js  vuejs  watt  wattage  ways  web  webdesign  webdev  webservices  whale  whaling  white  wordpress  workaround  worker  yii  zend 

Copy this bookmark:



description:


tags: