Let’s write a Laravel application – Fulltext search

This time I want to show you how you add a search functionality to your Laravel application that accomplishes the following features:

  • Fulltext search in Eloquent model
  • Define searchable columns
  • Define result relevance for searchable columns
  • Customize the look of the search results based on the model
  • Independent search bar.

Continue reading “Let’s write a Laravel application – Fulltext search”

Let’s write a Laravel application – Form validation for your backend and frontend

Form validation is always part of your data process workflow. With Laravel you can to validate the input on the controller or the eloquent model. To provide a seamless user experience it’s better to validate a form with JavaScript in the frontend. However due to security reasons you have provide a backend validation, otherwise it would possible to inject non valid data.
Continue reading “Let’s write a Laravel application – Form validation for your backend and frontend”

Let’s write a Laravel application – Project template

In web development there are tons of programs and tools and due to that also complex and very different development strategies.
Luckily dependency handling got a lot easier. For my Laravel project setup we will use 3 different package managers.
Every package manager of course manages a different resource, we will use composer for php packages, npm for everything related to Node.js and Bower for web packages.
Continue reading “Let’s write a Laravel application – Project template”