وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Build a Modern REST API with PHP 8

سرفصل های دوره

Build from scratch a clean PHP 8.2 backend API based on scalable and powerful N-Tier architecture


1 - Fundation
  • 1 - 1 PHP API from scratch
  • 2 - 2 PHP in 2023
  • 3 - 3 JWT Token with RESTFul API

  • 2 - Building the backend API
  • 4 - 4 Install Composer Firebase PHP JWT
  • 5 - 5 Create your first file
  • 6 - 6 Include files and composer autoloader
  • 7 - 7 Creating endpoints in our PHP service
  • 8 - 8 PHP 81 User Composer requirements
  • 9 - 9 if needed Upgrade your PHP version to correct one
  • 10 - 10 Use an API client Insomnia Postman
  • 11 - 11 HTTP methods for RESTful API architecture CRUD
  • 12 - 12 Implement User class
  • 13 - 13 Helpers and Headers
  • 14 - 14 Add namespace and composer autoload
  • 15 - 15 Implementing your first API Routes
  • 16 - 16 Implement match and enum PHP 80 and 81
  • 17 - 17 Completing user routes and handle requests
  • 18 - 18 Read the API payload body data and that it from the backend server
  • 19 - 19 Validate endpoints
  • 20 - 20 Add missing arguments
  • 21 - 21 Initialize Git
  • 22 - 22 Add justhttpstatuscodes and phphttpresponseheader packages
  • 23 - 23 Save our code on a Git hosting platform GitHub
  • 24 - 24 Refactor the payload validation
  • 25 - 25 Add support for generating UUID GUID
  • 26 - 26 Setup ORM RedBeanPHP and MySQL on development machine
  • 27 - 27 Handle exceptions beautifully and convert into JSON format

  • 3 - Apache local host
  • 28 - 28 Setup a local Apache Server

  • 4 - Avances concerts for the backend API
  • 29 - 29 Set a default response on index root request
  • 30 - 30 Rewrite URLs to beautiful friendly ones
  • 31 - 31 Lets use the RedBeanPHP ORM in our API
  • 32 - 32 Secure RedBeanPHP
  • 33 - 33 Codebase Quick Cleanup
  • 34 - 34 Retrieve a user from the database with RedBeanPHP
  • 35 - 35 Retrieve all users from the database with RedBeanPHP
  • 36 - 36 Remove an existing user from the database with RedBean PHP
  • 37 - 37 Update a saved user in the database
  • 38 - 38 Refactor PHP enum in userroutes
  • 39 - 39 Send proper HTTP status codes for each API endpoint
  • 40 - 40 Clean Code Write selfdocumenting code instead of comments
  • 41 - Lets create the Food Item
  • 42 - 42 Validate the received HTTP methods for API endpoints
  • 43 - 43 Make sure a user has a unique email save and encrypt password
  • 44 - 44 Optional Move hashpassword to its own function
  • 45 - 45 Login a user
  • 46 - 46 Store the JWT expiry time into ENV variable
  • 47 - 47 Refactoring Implement UserEntity into User Data Access Layer
  • 48 - 48 Refactoring Create FoodEntity to build a food product
  • 49 - 49 Store JWT token into database table
  • 50 - 50 Store user JWT token and last activity into the database
  • 51 - 51 Good practices and enhancements

  • 5 - Unit Testing
  • 52 - 52 Start writing your unit tests Setup and configure PHPUnit
  • 53 - 53 Add your unit tests Part 1 User Entity
  • 54 - 54 Add your unit tests Part 2
  • 55 - 55 Add CI GitHub workflows pipeline

  • 6 - What about the client Frontend
  • 56 - 56 Whats next Build your frontend
  • 57 - 57 Architecture Diagram Backend and Frontend
  • 58 - Diagram Example of a PHP REST API architecture.html

  • 7 - Source Code GitHub Repositories
  • 59 - Final Source Code and GitHub Repository.html
  • 59 - php-api-source-code.zip

  • 8 - Conclusion
  • 60 - Follow Me Around for more.html
  • 61 - External resources.html
  • 62 - Online PHP 82 Sandbox.html
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    افزودن به سبد خرید
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    شناسه: 18969
    حجم: 13307 مگابایت
    مدت زمان: 1024 دقیقه
    تاریخ انتشار: ۲۰ شهریور ۱۴۰۲
    دیگر آموزش های این مدرس
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید