title: Macroable Laravel Classes (Full List) keywords: laravel, coderstape, coder's tape, macros description: The macro trait allows you to add functionality to many Laravel classes. Here's a list of all of them. date: AUg 30, 2019 tags: laravel, php permalink: macroable-laravel-classes-full-list img: https://coderstape.com/images/laravel-macros.jpg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
title: What is Laravel framework in PHP? keywords: servers, laravel, coderstape, coder's tape description: Down to the basics explaining what Laravel framework is. date: May 25, 2019 tags: laravel, php permalink: what-is-laravel-framework-in-php img: https://coderstape.com/storage/uploads/aaSO7RjSstrXIH3iRr0T1yuh9EAPIC1Mbqk7tSRI.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
--- | |
title: My Title | |
keywords: keyword1, keyword2, keyword3 | |
description: Description here | |
date: May 14 1988 | |
series: My First Post | |
tags: Tag 42, Tag 2 | |
img: https://via.placeholder.com/500x140 | |
--- |
title: Title in Title Bar keywords: keyword1, keyword2, keyword3 description: Description here date: May 14 1988 series: My First Post tags: Tag 1, Tag 2 permalink: title-in-title-bar img: https://via.placeholder.com/500x140
cd0431a5cdc043ebab7f4954f7b4d471 | |
10db4bd5cc41d64675d01605ef555f8c | |
dc1d424e34c866c2544e1296206eb594 |
<?php | |
function str_between($string, $start, $end, $innerOnly = true, $remove = false) { | |
if (($startPosition = strpos($string, $start)) === false || ($endPosition = strpos($string, $end)) === false) { | |
return false; | |
} | |
if ($innerOnly) { | |
$startPosition += strlen($start); |
<template> | |
<ul> | |
<result v-for="result in results" :key="result.id"> | |
@{{ result.id }} | |
</result> | |
</ul> | |
</template> | |
<script> | |
export default { |
<?php | |
class Gallery | |
{ | |
public $data; | |
public function setUp($imagePath) | |
{ | |
$data = file_get_contents($imagePath . 'portfolio.json'); | |
$this->data = json_decode($data, true); | |
$this->images = glob($imagePath . '*.{jpg,png,gif}', GLOB_BRACE); |