racl101 + laravel5   346

Build a modern web application with Laravel and Vue
Really good tutorial demonstrating how to build a single page application (SPA) with a backend powered by Laravel with Passport and a front-end powered by VueJS. As of February 2019, it is 5 parts.

I'm using this tutorial as the basis for Onboard V3 Prototype app.
blog  tutorial  laravel  laravel5  spa  app  single  page  application  web  passport  json  token  jwt  api  vue  vuejs  vue2  javascript  framework 
february 2019 by racl101
php - Vue.js / Laravel - Handle logout correctly - Stack Overflow
Added my own example of how to implement a logout link for a SPA with an API powered by Laravel 5 using Passport and a front end powered by VueJS.
stackoverflow  howto  example  guide  reference  spa  laravel  laravel5  passport  api  frontend  backend  logout  link  revoke  token  vue  vuejs  vue2  javascript 
february 2019 by racl101
spatie/laravel-permission: Associate users with roles and permissions
This pretty much does the job that Zizaco Entrust used to do but doesn't require Redis to be installed and is still being maintained.
github  laravel  permission  library  package  roles  permissions  laravel5  user  database  models  guide  reference  documentation  howto  example  tutorial 
february 2019 by racl101
How to use multiple authentication guards in a Laravel app
I really need to try this. This might give insight into how to create multiple types of user tables and then use guards for each type of user table to log different types of users into the system.
laravel  blog  tutorial  howto  use  multiple  guards  users  tables  laravel5  auth  authentication  example  guide  reference  toread  tolearn  totry  tounderstand 
february 2019 by racl101
"Laravel 5.5 API Resources" vs "spatie/laravel-fractal"
Interesting forum discussion comparing and discussing the merits of using Larave 5.5's API Resources features and the PHP Fractal library (or a Laravel wrapper for the Fractal library).
laracasts  forum  discussion  library  php  laravel  laravel5  api  resources  feature  fractal  pros  cons  merits  guide  reference 
february 2019 by racl101
siquylee/jenkins-php: Jenkins jobs with Docker for PHP projects inspired by http://jenkins-php.org
This is a Github project showcasing how to adapt Sebastian Bergmann's PHP Jenkins Template Ant buildfile and adapt it to a website / app project built with Laravel and implementing the buildfile (build.xml) with the Phing build tool (a tool that uses Ant buildfile syntax but has PHP specific tasks/ options and only requires PHP (not Java) to run.)

For the Laravel project look within the BookStack directory.
github  project  howto  example  jenkins  php  ant  phing  buildfile  build  template  laravel  laravel5  docker  toread  tolearn  totry  tounderstand  guide  reference 
november 2018 by racl101
BookStackApp/BookStack: A platform to create documentation/wiki content built with PHP & Laravel
This is an open source project for a service written in Laravel that looks really, really amazing. There's probably a lot of good ideas to mine from this project on how to write good code with Laravel and what good third party software to use to build your project and not just for PHP / Laravel but also for JavaScript.

It also has a demo site to see it in action.
github  project  laravel  laravel5  toread  tounderstand  totry  ideas  good  practices  coding  standards  tools  howto  example  guide  reference 
november 2018 by racl101
css - Programmatically creating PDF from webpage - Stack Overflow
I wrote a Stackoverflow response to the problem of creating PDFs programmatically. After trying out Browsershot, Puppeteer and Chrome / Chromium headless browser solution on Laravel and seeing it work. This came after being frustrated with trying to install / run wkhtmltopdf on Ubuntu 18.04.
stackoverflow  howto  example  guider  reference  suggestion  render  pdf  programmatically  server  side  php  php7  browsershot  laravel  laravel5  ubuntu  ubuntu18.04  puppeteer  chrome  chromium  headless  browser  totry  tolearn  tounderstand 
november 2018 by racl101
verumconsilium/laravel-browsershot: Browsershot wrapper for Laravel 5
This looks like a decent library to utilize Browsershot and Puppeteer NodeJS library via PHP to leverage Chrome / Chromium headless browser to achieve tasks such as PDF rending and Screenshot generation all on Laravel.

Installing it worked on Laravel 5.5 but it required me to use php 7.1 or higher.
github  project  library  tool  package  composer  php  browsershot  puppeteer  nodejs  chrome  chromium  headless  browser  pdf  rending  screenshot  laravel  laravel5  php7.1 
november 2018 by racl101
vue-tables-2 - npm
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation  npm  repository 
july 2018 by racl101
php - How do I convert an object to an array? - Stack Overflow
I use this approach to convert an array of PHP objects to an array of associative arrays. You need to do this in Laravel 5 when you query database rows not using an Eloquent Model facade but the DB facade.
stackoverflow  php  howto  example  guide  reference  convert  array  objects  associative  arrays  laravel  laravel5  model  object 
june 2018 by racl101
php - belongsToMany relationship in Laravel across multiple databases - Stack Overflow
Someone figured out how to do a relationship column / property between two models (with pivot table), i.e. belongsToMany where the second model might have a dynamic database connection (i.e. it's not the same each time a query is done). So they figured out howto obtain the database for the current database connection (i.e. the current PHP script execution).
stackoverflow  laravel  laravel5  howto  belongstomany  model  relationship  property  column  between  different  database  connections  example  guide  reference  pivot  table 
may 2018 by racl101
orm - Laravel Eloquent Filter By Column of Relationship - Stack Overflow
Doesn't work all that well if the relationship property / field is defined on a table in a different database connection than the main model object that you're doing the operation on.
stackoverflow  laravel  laravel5  howto  filter  by  relationship  column  property  model  where  query  example  guide  reference  totry  tounderstand 
may 2018 by racl101
Create REST API with the Laravel 5.5 - Arjun
This particular tutorial shows how to use PHP League's Fractal library for API response transformation. As of Laravel 5.5 you can use Eloquent Resources for transformations however.
blog  tutorial  howto  create  rest  restful  api  laravel5  phpleague  php  fractal  library  example  guide  reference 
may 2018 by racl101
matfish2/vue-tables-2: Vue.js 2 grid components
This is a great and easy to use VueJS 2 library / component to create an HTML table in the style of the jQuery DataTables plugin and supports the following:

- Searching / Filtering (for all rows in table with one text field filter or individually for any column via text field filter)
- Dropdown Filtering (for an individual column)
- Ordering
- Loading data through Ajax from an API (and it has a convenient Laravel server example to implement searching /filtering and pagination)
github  project  vuejs  vue2  vue  data  table  datatable  component  library  ajax  searching  ordering  filtering  laravel  server  side  php  laravel5  implementation  documentation 
may 2018 by racl101
Laravel 5.5 VueJs 2.0 CRUD Operations Application - iTech Empires
Really nice and fairly easy to understand tutorial demonstrating how to do an entire CRUD page demonstrating how to do a listing, create form page, update form page and delete functionality.
blog  tutorial  howto  crud  laravel  laravel5  vue  vuejs  vue2  bootstrap  bootstrap3  example  guide  reference  toread  tolearn  totry  tounderstand 
may 2018 by racl101
laravel-mix/installation.md at master · JeffreyWay/laravel-mix
This guide actually talks about how to use Laravel mix in stand-alone, non-laravel projects and it seems to work well.
github  documentation  guide  reference  laravel  mix  laravel-mix  webpack  howto  setup  install  standalone  project  non  laravel5  tutoria  javascript  css  compiling 
april 2018 by racl101
Run composer commands with different php versions
This actually seems to work within the Homestead Virtual Machine. It's not necessarily the most elegant way but it gets the job done.
laracasts  forum  howto  run  composer  command  install  laravel  laravel5  with  different  version  of  php  php5  php7  example  guide  reference 
april 2018 by racl101
The Process Component (Symfony Docs)
Symfony package for running shell scripts on the web server. I tested this on my Laravel Homestead Vagrant Virtual Machine to run a Python script from a Laravel (PHP) command and from a controller web route and it worked beautifully.
symfony  package  exec  shell  script  server  linux  ubuntu  ubuntu16.04  tutorial  documentation  guide  reference  laravel  laravel5 
april 2018 by racl101
php - Go back URL in Laravel 5.1 - Stack Overflow
In Lumen 5.1 you can use: redirect()->back()->getTargetUrl()
stackoverflow  howto  lumen  lumen5.1  get  previous  url  example  guide  reference  laravel5 
april 2018 by racl101
What's New in Laravel 5.3: Laravel Passport
Even though it's a screencast for Laravel 5.3 the info pretty much still relevant for Laravel 5.5.
laracasts  screencast  laravel  oauth2  passport  server  guide  reference  tutorial  laravel5  laravel5.5 
february 2018 by racl101
I 'm getting error "Class 'PredisClient' not found" in Laravel 5.2 - Stack Overflow
Had this issue on Laravel 5.5 when I wanted to set Supervisord to do some queue work on a Beanstalkd Queue. Fixed issue by simply installing predis/predis package.
stackoverflow  howto  troubleshoot  laravel  laravel5  laravel5.5  error  message  supervisord  beanstalkd  queue  redis  fix  guide  reference 
january 2018 by racl101
yajra/dt54: Laravel 5.4 DataTables Demo Application (WIP)
This example boilerplate project demonstrated to me how to add datatables as an npm dependency and how to require it in the bootstrap.js script that Laravel Mix reads when compiling JavaScript assets.
github  example  boilerplate  code  laravel  laravel5.5  laravel5  datatables  npm  nodejs  dependency  dependencies  mix  webpack  howto  guide  reference 
january 2018 by racl101
moeen-basra/laravel-react: Laravel 5.5 and React 16 boilerplate
This project looks promising if I were to do a Single Page Application using ReactJS since it has an example code for Laravel Passport as well.
github  laravel  laravel5  laravel5.5  react  reactjs  javascript  passport  boilerplate  example  code  guide  reference  toread  tolearn  totry  tounderstand 
january 2018 by racl101
php - Job chaining in Lumen 5.5: withChain() not working how can I make it work? - Stack Overflow
Explains why delaying of dispatched jobs or chaining will not work on Lumen 5.5 even though it's supported in Laravel 5.5
stackoverflow  lumen  lumen5.5  chaining  delaying  gotcha  guide  reference  caveat  explanation  laravel5  laravel  laravel5.5 
january 2018 by racl101
« earlier      
per page:    204080120160

related tags

$  2.7  Abilities  acceptance  access  accessor  acl  action  activation  add  address  agent  aggregated  ajax  alert  all  amazon  Angularjs  ant  api  app  application  architecture  array  arrays  artisan  askubuntu  assertion  asset  assets  assign  assignment  associative  asterik  attribute  attributes  auth  Authenticate  authentication  authorization  autocomplete  autoloader  available  aws  axios  babel  Back  backend  background  Backlink  based  beanstalk  beanstalkd  belongstomany  best  bestpractices  between  bind  binding  blade  blog  boilerplate  bootstrap  bootstrap3  bower  breadcrumbs  broker  browser  browsershot  Bug  build  builder  buildfile  by  cache  caching  call  callbacks  capistrano  cascade  case  cashier  catch  caveat  chaining  change  channel  character  check  checks  chrome  chromium  class  classes  clear  cli  client  closure  cloud  code  codeception  coding  collection  collective  column  columns  command  commandline  commands  compile  compiling  component  composer  composer.json  composer.lock  config  configuration  confirmation  conflict  connect  connection  connections  cons  console  constraint  constructor  contain  container  contents  controller  controllers  convert  cookies  copy  CORS  count  coverage  cPanel  create  created_at  CRon  crontab  crud  csrf  css  curl  currency  current  custom  customization  customize  daemon  dashes  data  database  datatable  datatables  datetime  db  dbal  defer  defined  delaying  delete  deletes  demo  dependencies  dependency  deploy  deployment  deprecated  destination  detect  detection  dev  development  difference  different  directory  disable  discussion  disk  distinct  diy  docker  doctrine  documentation  dots  down  download  driver  dump  dump-autoload  duplicate  dynamic  eager  edit  Elixir  eloquent  Email  enable  encoding  endpoint  entrust  entry  env  environment  envoy  error  errors  escape  Event  events  example  examples  exception  exceptions  exec  execute  expired  explanation  ext-dom  extend  extension  extra  facade  facades  factory  fail  failures  fake  feature  features  Field  fields  file  files  filesystem  filter  filtering  fire  first  fix  flash  folder  fonts  force  foreign  foreignkey  form  forms  forum  fractal  framework  from  frontend  functional  functions  gatekeeper  generator  generators  get  getaddresses  getting  gettingstarted  git  github  good  gotcha  grant  group  Guard  guards  guest  guide  guider  Gulp  guzzle  guzzlehttp  handle  handler  handlers  handling  hard  hash  headless  helper  helpers  homestead  host  howto  html  htmlspecialchars  http  https  IDE  ideas  identifier  illuminate  image  images  implementation  in  index  input  install  installation  installed  instance  integration  intended  interesting  in_array  ioc  is  issue  javascript  jeffreyway  jenkins  join  jquery  json  jsonwebtokens  jwt  key  keys  laracasts  laravel  laravel-mix  laravel4  laravel5  Laravel5.0  Laravel5.1  laravel5.2  laravel5.3  laravel5.4  laravel5.5  laravel5.6  laravelcollective  laravelrecipes  last  layout  length  libraries  library  limit  limiting  link  linux  list  listen  listeners  load  loading  location  log  logged  logging  login  logout  long  lts  lumen  lumen5.1  lumen5.5  macros  mail  mailer  maintenance  management  manager  Manual  manytomany  mass  massassignment  Mattstauffer  mbstring  mcrypt  medium  merits  message  messaging  method  methods  middleware  migrate  migration  migrations  minify  mismatch  missing  mix  mobile  mode  model  models  module  money  multi  multiple  multitanancy  multitenancy  multitenant  mutators  mysql  mysql5  name  named  namespace  namespaces  nested  network  new  newrelic  news  nginx  nodejs  non  non-aggregated  not  notification  npm  null  oauth2  object  objects  of  offset  ondelete  opcache  operatingsystem  optimization  ordering  orm  output  override  overview  package  packages  packagist  page  pagination  paginator  parameter  parameters  parse  parser  pass  passport  password  patch  path  pdf  pdo  performance  permission  permissions  philsturgeon  phing  php  php-fpm  php-xml  php5  php7  php7.0  php7.0-mbstring  php7.0-xml  php7.1  php7.2  phpleague  phpstorm  phpunit  pivot  plugin  poll  postgres  postgresql  postman  postmark  postmarkapp  practices  preserve  previous  process  programmatically  project  projects  property  pros  protection  provider  Ps4  Psr-4  public  publish  puppeteer  purge  PUT  python  queing  queries  query  queue  random  rates  raw  react  react-native  reactjs  recipes  reconnect  record  reddit  redirect  redirection  redis  redux  reference  regex  region  relationship  relationships  relative  Reload  rename  render  rending  repository  request  requests  requirement  RESeed  reset  resolution  resolve  resource  resources  response  responses  rest  restful  results  return  revoke  role  roles  route  router  routes  routing  Row  rule  rules  run  runner  s3  s3client  saas  same  sample  sass  satellizer  save  scheduler  scheduling  schema  scope  scopes  scotch.io  scotchio  screencast  screenshot  script  sdk  searching  secret  secure  security  seed  seeder  seeding  segment  select  send  Sent  serialization  serve  server  service  Serviceprovider  serving  set  setting  setup  Shared  shell  Show  side  single  sitepoint  snappy  Soft  software  solution  sorting  Source  spa  specific  specify  sql  sqlite  sqlite3  Ssl  Stack  stackexchange  stackoverflow  standalone  standards  started  statement  storage  store  string  stripe  str_random  stylesheets  sub-domain  subdomain  suggestion  suggestions  supervisord  support  svg  symfony  sync  syntax  table  tables  Tag  Tags  task  Taylorotwell  template  templates  tenant  tenanti  term  test  testcase  testing  tests  text  Throttle  Throttling  time  timestamp  tips  to  toarray  tocheckout  tofix  token  tokenmismatchexception  tolearn  too  tool  tools  toread  totry  tounderstand  towatch  tracker  trait  transformer  trigger  troubleshoot  troubleshooting  troubleshot  try  tutoria  tutorial  tutorials  twitter  Tymon  type  ubuntu  ubuntu16.04  ubuntu18.04  unauthenticated  unauthorized  underscore  understand  unicode  unique  unit  unittest  unittesting  unsigned  up  update  updated_at  upgrade  uploads  uri  url  use  useful  user  useragent  username  users  utf8  utility  uuid  vagrant  validate  validation  values  variable  variables  verbose  veriable  version  vhost  via  view  views  virtual  virtualbox  virtualhost  virtualmachine  vue  vue2  vuejs  vuetables2  watch  web  webpack  webserver  where  whoops  wildbit  with  within  wkhtmltoimage  wkhtmltopdf  words  work  workaround  worker  wrapper  write  writeable  xdebug  yajra  zizaco 

Copy this bookmark:



description:


tags: