---
title: PHP is the future
url: "https://aaronfrancis.com/videos/php-is-the-future"
path: "/videos/php-is-the-future"
type: video
author: Aaron Francis
published: 2023-05-12
topic: "Laravel & PHP"
keywords: [php, laravel, full stack framework, laravel sail, laravel valet, composer, vite, artisan, eloquent orm, laravel blade, laravel livewire, inertia]
youtube_url: "https://www.youtube.com/watch?v=xmvD_EjNE-4"
chunked: true
full_bytes: 36287
section_count: 27
full_url: "/videos/php-is-the-future/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# PHP is the future

## Sections (35.4 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (35.4 KB)](/videos/php-is-the-future/full.md).

### 1. An Overview of Laravel for 2023 (00:00–01:48 · 2.0 KB)
Laravel is a full-stack framework with excellent documentation, community support, and official learning resources at laravel.com and bootcamp.laravel.com.
Keywords: `laravel`, `overview`, `saas`, `first party`, `framework`, `documentation`, `docker`, `ecosystem`
[Read section 1 verbatim](/videos/php-is-the-future/sections/1-an-overview-of-laravel-for-2023.md)

### 2. Local development: Laravel Sail (Docker) or Laravel Valet (01:49–03:18 · 1.7 KB)
Laravel Sail provides Docker-based local development, while Laravel Valet (Mac-only) configures local services like Nginx and DNSMASQ with PHP version switching.
Keywords: `laravel sail`, `laravel valet`, `laravel`, `docker`, `valet`, `sail`, `composer`, `called laravel`
[Read section 2 verbatim](/videos/php-is-the-future/sections/2-local-development-laravel-sail-docker-or-lara.md)

### 3. Installing Laravel with composer (03:19–04:09 · 1.0 KB)
Create new Laravel projects using Composer, which comes pre-configured with Vite for asset building, hot-swapping, and production builds via npm run dev/build.
Keywords: `laravel`, `installing laravel`, `installing`, `composer`, `laravel application`, `npm run`, `go`, `given`
[Read section 3 verbatim](/videos/php-is-the-future/sections/3-installing-laravel-with-composer.md)

### 4. Building assets with Vite (04:10–04:31 · 0.4 KB)
Vite is included out-of-the-box with Laravel for asset compilation and hot module replacement.
Keywords: `building assets`, `assets`, `vite`, `routing`
[Read section 4 verbatim](/videos/php-is-the-future/sections/4-building-assets-with-vite.md)

### 5. Routing in Laravel and Middleware (04:32–05:44 · 1.2 KB)
Laravel routing is expressive and readable, supporting simple closures or controller methods, with built-in authentication middleware for both username/password and stateless API tokens.
Keywords: `middleware`, `laravel`, `routing`, `dashboard controller`, `authentication middleware`, `authentication`, `box`, `dashboard`
[Read section 5 verbatim](/videos/php-is-the-future/sections/5-routing-in-laravel-and-middleware.md)

### 6. HTTP Middleware (05:45–07:14 · 1.6 KB)
Laravel's middleware stack handles string trimming, CSRF protection, sessions, maintenance mode, and rate limiting, with configurable groups for web and API requests.
Keywords: `middleware`, `http middleware`, `http`, `maintenance mode`, `maintenance`, `laravel comes`, `middleware stack`, `middleware groups`
[Read section 6 verbatim](/videos/php-is-the-future/sections/6-http-middleware.md)

### 7. Laravel CLI (Artisan) (07:14–07:59 · 0.8 KB)
Artisan CLI provides make commands for code generation, including models, migrations, controllers, and other application components.
Keywords: `artisan`, `laravel cli`, `laravel`, `cli`, `php artisan`, `to-do model`, `model`, `to-do`
[Read section 7 verbatim](/videos/php-is-the-future/sections/7-laravel-cli-artisan.md)

### 8. Database migrations (07:59–09:36 · 1.6 KB)
Laravel migrations enable database table creation and team collaboration, with built-in scaffolding for users table, password resets, failed jobs, and personal access tokens.
Keywords: `database migrations`, `database`, `migrations`, `to-do table`, `users table`, `to-do model`, `table`, `to-do`
[Read section 8 verbatim](/videos/php-is-the-future/sections/8-database-migrations.md)

### 9. Default user model in Laravel (09:36–11:07 · 1.6 KB)
Laravel's default User model includes authentication, authorization (permissions), password reset, and email verification out-of-the-box.
Keywords: `user model`, `model`, `laravel`, `default`, `default user`, `raw sql`, `query builder`, `log`
[Read section 9 verbatim](/videos/php-is-the-future/sections/9-default-user-model-in-laravel.md)

### 10. Database ORM (Eloquent) versus base query builder (11:08–12:30 · 1.4 KB)
Laravel offers three database interaction layers: Eloquent ORM (active record), query builder, and raw SQL, supporting SQLite, MySQL, Postgres, and SQL Server.
Keywords: `query builder`, `orm`, `database orm`, `versus base`, `base query`, `database`, `query`, `builder`
[Read section 10 verbatim](/videos/php-is-the-future/sections/10-database-orm-eloquent-versus-base-query-builde.md)

### 11. Env files (12:30–13:24 · 0.9 KB)
Environment files (.env) store application secrets and configuration variables like database credentials, broadcasting, caching, and queue connections without committing to version control.
Keywords: `env files`, `env`, `files`, `cache configuration`, `cache`, `hop`, `drivers`, `driver`
[Read section 11 verbatim](/videos/php-is-the-future/sections/11-env-files.md)

### 12. Caching in Laravel (13:25–15:23 · 1.8 KB)
Laravel provides unified cache and storage interfaces supporting multiple drivers (Redis, DynamoDB, S3, local disk, FTP, SFTP) allowing seamless backend switching without code changes.
Keywords: `laravel`, `caching`, `file systems`, `storage disk`, `storage`, `disk`, `local machine`, `file`
[Read section 12 verbatim](/videos/php-is-the-future/sections/12-caching-in-laravel.md)

### 13. Creating and scheduling CLI commands (without cron) (15:23–18:34 · 3.3 KB)
Laravel's console kernel allows scheduling Artisan commands at various intervals without cron, with support for conditionals and probabilistic execution via the Lottery class.
Keywords: `commands`, `scheduling cli`, `cli commands`, `cli`, `cron`, `scheduling`, `console kernel`, `command`
[Read section 13 verbatim](/videos/php-is-the-future/sections/13-creating-and-scheduling-cli-commands-without-cr.md)

### 14. Testing in Laravel (18:34–19:25 · 0.9 KB)
Laravel includes pre-configured testing setup using php artisan test with built-in test scaffolding and a strong testing ethos throughout the community.
Keywords: `testing`, `laravel`, `tests`, `strong testing`, `output`, `artisan`
[Read section 14 verbatim](/videos/php-is-the-future/sections/14-testing-in-laravel.md)

### 15. The view layer (19:26–20:14 · 0.9 KB)
Laravel offers multiple view layer options spanning from server-rendered templates to full JavaScript frameworks, accommodating different application requirements.
Keywords: `view layer`, `view`, `layer`, `first party`, `templating language`, `talked`, `party`, `templating`
[Read section 15 verbatim](/videos/php-is-the-future/sections/15-the-view-layer.md)

### 16. Laravel Blade templating (20:14–21:06 · 0.9 KB)
Blade is Laravel's default templating engine featuring components, layouts, directives, loops, and conditionals for sophisticated server-rendered views.
Keywords: `blade`, `laravel`, `templating`, `laravel blade`, `blade templating`, `templating language`, `components`, `language`
[Read section 16 verbatim](/videos/php-is-the-future/sections/16-laravel-blade-templating.md)

### 17. Laravel Livewire (21:06–22:00 · 1.0 KB)
Livewire by Caleb Porzio enables interactive components using PHP on the frontend via stateless HTTP communication, often paired with Alpine.js for rich interactivity.
Keywords: `livewire`, `laravel livewire`, `laravel`, `websocket`, `alpine.js`, `blade`, `interactivity`, `worry`
[Read section 17 verbatim](/videos/php-is-the-future/sections/17-laravel-livewire.md)

### 18. Laravel with NextJS, Vue, React, and InertiaJS (22:00–24:25 · 2.4 KB)
InertiaJS bridges Laravel backend with Vue, React, or Svelte frontends, providing SPA-like experience while keeping full access to Laravel routing and database layer.
Keywords: `inertia`, `next.js`, `laravel`, `vue`, `react`, `laravel plus`, `first party`, `blade`
[Read section 18 verbatim](/videos/php-is-the-future/sections/18-laravel-with-nextjs-vue-react-and-inertiajs.md)

### 19. Starter kits: Breeze and Jetstream (24:25–25:52 · 1.6 KB)
Breeze and Jetstream are official starter kits supporting multiple stacks (Blade, Livewire, Inertia+React/Vue, Next.js) with built-in authentication and Tailwind CSS.
Keywords: `starter kits`, `starter`, `kits`, `breeze`, `jetstream`, `step further`, `starter kit`, `view layer`
[Read section 19 verbatim](/videos/php-is-the-future/sections/19-starter-kits-breeze-and-jetstream.md)

### 20. Hosting Laravel: Forge and Vapor (25:53–28:38 · 2.8 KB)
Laravel Forge configures VPS servers across providers for Laravel deployment with push-to-deploy, while Laravel Vapor runs Laravel on AWS Lambda for serverless hosting.
Keywords: `laravel`, `vapor`, `laravel forge`, `forge`, `laravel vapor`, `hosting laravel`, `hosting`, `itll set`
[Read section 20 verbatim](/videos/php-is-the-future/sections/20-hosting-laravel-forge-and-vapor.md)

### 21. Laravel Horizon: queue monitoring (28:38–29:03 · 0.4 KB)
Horizon provides a UI for monitoring Redis queues, managing job visibility, and configuring worker processes without manually using Supervisor.
Keywords: `laravel horizon`, `queue monitoring`, `queue`, `laravel`, `horizon`, `monitoring`, `processes`
[Read section 21 verbatim](/videos/php-is-the-future/sections/21-laravel-horizon-queue-monitoring.md)

### 22. Laravel Cashier: Stripe subscriptions (29:04–29:49 · 0.8 KB)
Cashier abstracts subscription billing with Stripe, Paddle, or Lemon Squeezy for easy SaaS application payment management.
Keywords: `laravel cashier`, `laravel dusk`, `laravel`, `cashier`, `stripe subscriptions`, `stripe`, `subscriptions`, `browser testing`
[Read section 22 verbatim](/videos/php-is-the-future/sections/22-laravel-cashier-stripe-subscriptions.md)

### 23. Laravel Dusk: browser testing (29:49–30:20 · 0.5 KB)
Dusk is a browser automation tool for end-to-end testing with convenient application hooks and simplified Chrome browser testing.
Keywords: `laravel dusk`, `browser testing`, `laravel`, `dusk`, `browser`, `testing`, `full text`, `text search`
[Read section 23 verbatim](/videos/php-is-the-future/sections/23-laravel-dusk-browser-testing.md)

### 24. Laravel Scout: full text search (30:20–30:46 · 0.4 KB)
Scout provides full-text search over Eloquent models using Algolia or Meilisearch backends through a unified interface.
Keywords: `laravel`, `laravel socialite`, `laravel scout`, `full text`, `text search`, `oauth`, `scout`, `text`
[Read section 24 verbatim](/videos/php-is-the-future/sections/24-laravel-scout-full-text-search.md)

### 25. Laravel Socialite: Oauth logins for your application (30:46–31:07 · 0.4 KB)
Socialite enables OAuth login integration with GitHub, Twitter, Facebook, WhatsApp, and other services in a few lines of code.
Keywords: `socialite`, `laravel socialite`, `oauth logins`, `laravel`, `oauth`, `logins`, `application`, `code quality`
[Read section 25 verbatim](/videos/php-is-the-future/sections/25-laravel-socialite-oauth-logins-for-your-applica.md)

### 26. Code quality in Laravel (31:08–33:35 · 2.4 KB)
Laravel community emphasizes code quality through tools like Psalm, Larastan, and Pent for static analysis and coding standards, while supporting both strict typing and flexible approaches.
Keywords: `code quality`, `laravel`, `quality`, `strict typing`, `laravel community`, `static analysis`, `love strict`, `strict`
[Read section 26 verbatim](/videos/php-is-the-future/sections/26-code-quality-in-laravel.md)

### 27. Extra learning materials (33:35–34:25 · 0.9 KB)
Learning resources include Laravel docs, Laracasts video tutorials, Laravel Daily YouTube channel, and Codecourse for in-depth Laravel education.
Keywords: `extra learning`, `learning materials`, `extra`, `materials`, `laravel learning`, `laravel`, `served`
[Read section 27 verbatim](/videos/php-is-the-future/sections/27-extra-learning-materials.md)

---

## Related on aaronfrancis.com

- [Aaron Francis: Building and Teaching Cool Things](/podcast/aaron-francis-building-and-teaching-cool-things-39697cbb) *(Podcast · 2025-03-11 · shared: inertia, laravel, vue)*
- [Fusion: Write PHP inside your Vue and React components](/podcast/fusion-write-php-inside-your-vue-and-react-components-cdf3a9e4) *(Podcast · 2025-02-14 · shared: laravel, vue, inertia)*
- [#33 - Aaron Francis on Fusion, TUIs and Content Creation](/podcast/33-aaron-francis-on-fusion-tuis-and-content-creation-087d6b18) *(Podcast · 2025-02-13 · shared: inertia, laravel, vue)*
- [Write Laravel, not PHP (feat. Aaron Francis)](/podcast/write-laravel-not-php-feat-aaron-francis-auvccu) *(Podcast · 2023-11-27 · shared: php, laravel, vue)*
- [Laravel vs React](/videos/laravel-vs-react) *(Video · 2024-05-21 · shared: laravel, react, inertia)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `php` ([O-P](/llms/keywords/o-p.txt)), `laravel` ([K-L](/llms/keywords/k-l.txt)), `full stack framework` ([F-G](/llms/keywords/f-g.txt)), `composer` ([C](/llms/keywords/c.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
