Beachcasts Tech Videos!


Host, Adam Culp (@AdamCulp), shares tech videos from South Florida. Created in my home-based office in Fort Lauderdale, usually these will be PHP related, or some other technology in the PHP web development space. So, most of the content will be about web development with a lean toward PHP web application development to help with your php projects.

Much of my spare time, when I'm not consulting or speaking at conferences, is spent hacking on PHP code for continued learning. So, I decided, why not share the experience with others who might also find it helpful?

As a result of these being LIVE, the videos will not always be polished because I stream them as I'm learning something. But I'll do my best to make them useful.

My hope to help others learn through my bumblings. I'm not the best programmer, but I enjoy sharing what I know.

Watch LIVE when I'm recording: https://www.twitch.tv/beachcasts
Watch past episodes on YouTube: https://www.youtube.com/c/Beachcasts
Follow us on Twitter: https://twitter.com/beachcasts
Like us on Facebook: https://facebook.com/beachcasts
Code with us on Github: https://github.com/beachcasts

Supporting Beachcasts!


Enjoying Beachcasts and want to help Adam create more content, and help more people? Here are some options. Thank you very much for your support.

Thinking of buying a Tesla electric vehicle? Use this referral link to also get six months of free Supercharging. Thank you. Tesla Referral Link

YouTube Videos!


Most Recent First

Add UUID to Doctrine ORM in a Zend Expressive application for a REST API PHP Project

We add UUID to a Zend Expressive application for a REST API PHP project, so that the ID for each record in the database carries a universally unique identifier rather than an auto increment integer.

Key Topics:

  • Using Ramsey Uuid library
  • Incorporate Uuid into Doctrine ORM entities
  • Use PhpStorm database panel to alter the database


Make a Create handler in an Expressive REST API PHP Project

We make a Create handler in a Zend Expressive application for a REST API PHP project.

Key Topics:

  • Using the Expressive CLI toolkit component
  • Create an Expressive Handler Factory and corresponding Handler
  • REST API Create record
  • Leverage Doctrine ORM Paginator for HAL creation


Automate Hypermedia REST API creation in a PHP Project

Automate Hypermedia REST API creation in a PHP Project

Key Topics:

  • Using Expressive HAL component
  • Automate Hypermedia creation
  • Leverage Doctrine ORM Paginator for HAL creation


Creating Hypermedia (HAL) for a REST API in your PHP project

Creating Hypermedia (HAL) for a REST API in your PHP project.

Key Topics:

  • Adding CRUD routes to FastRoute
  • Using the Expressive UrlHelper
  • Creating Hypermedia (HAL) links
  • Adding Hypermedia links to an entire dataset


Using Doctrine ORM Paginator in your PHP project for pagination in a REST API

Using Doctrine ORM Paginator in your PHP project for pagination in a REST API.

Key Topics:

  • Adding Doctrine Paginator to a PHP Project for pagination
  • Create page size in the configuration
  • Using dependency injection to pass the page size to the Handler
  • Create temporary variables to help manage meta data used by pagination
  • Create dynamic route to handle pagination through the request URL


Create a Doctrine ORM Entity with PHP and query data with pagination

Create a PHP Entity and use it in Doctrine ORM to query data with Zend Expressive middleware handler using Paginator, to return as JSON.

Key Topics:

  • Install dasprid/container-interop-doctrine
  • Create a Doctrine ORM Entity
  • Add Entities to Announcements/ConfigProvider
  • Test Entities with Doctrine ORM CLI
  • Add EntityManager to Factory
  • Add __contruct() to Handler
  • Add fields to Handler
  • Get Repository in handle()
  • Add createQueryBuilder
  • getQuery
  • Pass Query to Paginator
  • Get records through Paginator
  • Hydrate an array from Paginator to pass to JsonResponse


Install and configure Doctrine ORM and Doctrine Dbal using Composer, then configure the CLI tools

Install Doctrine ORM and Doctrine Dbal using Composer, and usage of dasprid/container-interop-doctrine. Plus how to create configuration files for Doctrine ORM allowing the CLI tools to function.

Key Topics:

  • Install dasprid/container-interop-doctrine
  • Install Doctrine ORM
  • Install Doctrine Dbal
  • Use the Doctrine ORM CLI
  • Use the Doctrine Dbal CLI
  • Create cli-config.php for Doctrine CLI
  • Create Doctrine configuration


Creating PHP middleware with Zend Expressive modules, and using routing with FastRoute

In this stream Adam Culp (@AdamCulp) shows how to create Zend Expressive modules using command line tooling. And create a middleware Handler and the routing needed for it to resolve using FastRoute. To finish up he creates a RoutesDelegator to handle module specific routes within the module rather than housing routes for the entire application together.

Key Topics:

  • Use the Zend Expressive command line (CLI) tooling
  • Create a Zend Expressive module
  • Create a Zend Expressive middleware handler
  • Create HTTP routes for FastRoute
  • Create a Zend Expressive RoutesDelegator to handle routes per module


Setting up PhpStorm for PHP development with Docker Containers

In this stream Adam Culp (@AdamCulp) sets up PhpStorm to be ready for local PHP development using Docker containers with PHP/Apache, and MySQL.

I show how to set up PhpStorm to manage Docker images and containers, run PHPUnit tests, use the internal Terminal, and also manage a MySQL database. All these are running inside multiple Docker containers.

Key Topics:

  • How to set up the PhpStorm IDE for development using Docker containers
  • Manage Docker from within PhpStorm
  • Configure PhpStorm to run PHPUnit tests
  • Configure PhpStorm to manage MySQL database
  • Configure PhpStorm for remote debugging in Docker Container
  • How to use the Terminal in PhpStorm


Setting up PhpStorm for PHP development with Docker Containers

In this episode, Adam Culp (@AdamCulp) walks through how he typically creates a PHP development environment using PHP version 7.2, Composer, Docker (docker-compose), Apache, MySQL, and Zend Expressive. Key Topics:

  • How to use Composer
  • How to install Zend Expressive Skeleton Application
  • How to use Docker-Compose to create a Docker container
  • How to create a Dockerfile
  • How to create a docker-compose.yml file


Introduction to Beachcasts - Tech Videos from the beach in South Florida

Our host, Adam Culp (@AdamCulp), introduces his idea behind Beachcasts (@Beachcasts) and what he hopes to accomplish with it. Since he enjoys hacking to learn new technologies and skills, why not share it with others through video.

Win a SunshinePHP Yellow ElePHPant


February SunshinePHP ElePHPant Raffle

Good Luck!

©Beachcasts 2019

SunshinePHP ElePHPant