Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2023

PHP 8 Basics

For Programming and Web Development

Apress
  • An in-depth PHP tutorial that will take you from beginner to pro

  • Walks you through the building of a web application with database from scratch with extensions

  • Includes coverage of popular PHP frameworks like Symfony, Laravel and Laminus

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-8082-9
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 34.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (16 chapters)

  1. Front Matter

    Pages i-xxiii
  2. Getting Started

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 1-14
  3. PHP Fundamentals

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 15-31
  4. Functions, Classes, and Traits

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 33-48
  5. Data and Data Types

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 49-73
  6. Form Data

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 75-83
  7. Arrays

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 85-147
  8. Sessions and Cookies

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 149-163
  9. Objects

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 165-169
  10. PHP Exceptions, Validation, and Regular Expressions

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 171-191
  11. PHP and MySQL Working Together

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 193-209
  12. Data

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 211-219
  13. Website with a DB

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 221-229
  14. Introduction to Frameworks

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 231-245
  15. Introduction to Laravel

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 247-271
  16. Introduction to Symfony

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 273-283
  17. A Basic Symfony Application

    • Gunnard Engebreth, Satej Kumar Sahu
    Pages 285-313
  18. Back Matter

    Pages 315-329

About this book

Take advantage of PHP 8's powerful features to create basic web applications, solve code tests (required for most job interviews nowadays), and begin moving towards more advanced PHP concepts. This book provides an introduction to PHP 8, including modules, attributes, JIT compiler, and union types, as well as related frameworks such as Symfony.

You will explore fundamental PHP concepts through both practical and hands-on examples. You'll not only gain a solid understanding of PHP fundamentals, but will also be prepared to handle new concepts and technologies as they emerge.

After working through the book and its associated demo code, you will be able to build your first basic web application.

What You Will Learn

  • Develop web applications with PHP 8
  • Use Vagrant, Docker, JSON API and more
  • Work with data, form data, arrays, objections, exceptions, regex, and more
  • Utilize PHP frameworks like Laravel and Symfony

Who This Book Is For

Those new to PHP 8 or PHP in general. Some prior experience in web development and DB handling is recommended.

Keywords

  • PHP 8
  • PHP
  • Programming
  • Language
  • LAMP
  • Web Development
  • open source
  • hypertext
  • processing
  • source
  • code
  • processor
  • software
  • php
  • MySQL
  • symfony
  • Laravel
  • Laminus
  • frameworks
  • wordpress

Authors and Affiliations

  • Madison, USA

    Gunnard Engebreth

  • Bangalore, India

    Satej Kumar Sahu

About the authors

Gunnard Engebreth began coding at the age of 11 through a “Learning BASIC” book given to him by his father. Technology was changing fast and Gunnard rode the wave from 1200 to 56k baud modems. Logging in to BBSs, Prodigy, Compuserve, Delphi and IRC he could see the world changing and he wanted to be a part of it. He soon got involved in the ansi/demo scene, making several application generators for many groups in the 90’s. Visual Basic was the next language of choice allowing him to develop “tools” for online systems such as AOL. This introduced many aspects of development, security and UI while they were still in their infancy. Once the WWW arrived via Mindspring in Atlanta, Ga. Gunnard quickly joined in the race for the web. Learning HTML, PERL and Linux (Slackware at the time) he began to build his skill-set which lead to a full-time Sysadmin position at the age of 20 (2000) at Activegrams/Silverpop. Gunnard has moved around the IT industry from SAN/NAS storage at IBM to custom Wordpress sites for marketing companies, but one thing has stayed the same, a passion for learning and problem solving. Gunnard also DJ’s Drum and Bass as Section31, Playing drums and baking bread.

Satej Kumar Sahu works in the role of Senior Enterprise Architect at Honeywell. He is passionate about technology, people, and nature. He believes through technology and conscientious decision making, each of us has the power to make this world a better place. In his free time, he can be found reading books, playing basketball, and having fun with friends and family.

Bibliographic Information

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-8082-9
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book USD 34.99
Price excludes VAT (USA)