by Cube Websites | Jan 3, 2023 | Laravel, PHP
If you need to use Directus with Laravel then this guide will take you through the steps needed to get connected in just a few minutes. The general idea is to use a composer package to interact with Directus. We’ll register it in our AppServiceProvider which...
by Cube Websites | Dec 28, 2022 | Guides, JavaScript, Laravel, PHP
I recently needed to help someone out who was using MAMP on a MacBook Pro on a Laravel 9 project. The project was configured to: run on MAMP the MAMP host was configured to use SSL Laravel 9 Vite InertiaJS The Problem When running the default project with yarn run dev...
by Cube Websites | Mar 7, 2016 | Ember, PHP
Introduction This guide will show you how to setup a new project using Ember and Laravel, JSON-API and token based authentication. The deployed version of your application will be a Laravel backend which serves up the Ember frontend using a Laravel route. Software At...
by Cube Websites | Feb 29, 2016 | PHP
The Code // Inline Style Images $content = preg_replace_callback(‘/!\[(.*)\]\s?\((.*)(.png|.gif|.jpg|.jpeg)(.*)\)/’,function($match){ return str_replace(‘your_search_term’,’your_replacement’,$match[0]); },$content); // Reference...
by Cube Websites | Jul 4, 2015 | Guides, PHP
Telegram messenger recently released an API that lets you easily create bots for their platform. After deciding to have a bit of a play with it, I found that I had an issue where the webhooks would not send any updates to my server with no apparent error. The Problem...
by Cube Websites | Aug 27, 2012 | Concrete5, Development, PHP
Hi folks, I’m back with another freebie for you. This time it’s a Concrete5 package that lets you create, manage and display testimonials on your website. The following fields are available to you: Title Author Department Quote URL Display Order When...