1.

What are string and array helpers functions in laravel?

Answer»

Laravel INCLUDES a number of global "HELPER" STRING and array functions. These are GIVEN below:-

Laravel Array Helper functions
  • Arr::add()
  • Arr::has()
  • Arr::last()
  • Arr::only()
  • Arr::pluck()
  • Arr::prepend() etc
Laravel String Helper functions
  • Str::after()
  • Str::before()
  • Str::camel()
  • Str::CONTAINS()
  • Str::endsWith()
  • Str::containsAll() etc


Discussion

No Comment Found