Download Free Download : Udemy APIs in PHP from Basic to Advanced
mp4 | Video: h264,1280X720 | Audio: AAC, 44.1 KHz
Genre:eLearning | Language: English | Size:1.38 GB
Files Included :
1 Introduction and welcome how to get the most out of the course.mp4 (10.88 MB)
MP4
2 Install a package with a web server, PHP, a database server and phpMyAdmin.mp4 (12.61 MB)
MP4
3 Install Composer manage third-party packages and autoload class files.mp4 (4.15 MB)
MP4
1 An introduction to JSON web tokens (JWTs).mp4 (11.93 MB)
MP4
2 Create a class to encode a payload in a JWT.mp4 (10.08 MB)
MP4
2 6 Source-code 100-020 Create-a-class-to-encode-a-payload-in-a-JWT.zip (10.09 KB)
ZIP
3 Generate a JWT access token in the login endpoint containing JWT claims.mp4 (15.26 MB)
MP4
3 2 Source-code 100-030 Generate-a-JWT-access-token-in-the-login-endpoint-containing-JWT-claims.zip (10.1 KB)
ZIP
4 Add a method to decode the payload from the JWT.mp4 (28.34 MB)
MP4
4 2 Source-code 100-040 Add-a-method-to-decode-the-payload-from-the-JWT.zip (10.34 KB)
ZIP
5 Pass in the secret key used for hashing as a dependency.mp4 (11.24 MB)
MP4
5 1 Source-code 100-050 Pass-in-the-secret-key-used-for-hashing-as-a-dependency.zip (10.38 KB)
ZIP
6 Authenticate the task endpoints using the JWT.mp4 (19.06 MB)
MP4
6 1 Source-code 100-060 Authenticate-the-task-endpoints-using-the-JWT.zip (10.41 KB)
ZIP
7 Use a custom exception class to return 401 if the signature is invalid.mp4 (12.56 MB)
MP4
7 2 Source-code 100-070 Use-a-custom-exception-class-to-return-401-if-the-signature-is-invalid.zip (10.65 KB)
ZIP
8 Don't store sensitive data in the JWT.mp4 (14.79 MB)
MP4
1 Why access tokens need to expire and how to refresh them in a user-friendly way.mp4 (12.11 MB)
MP4
10 Replace the refresh token in the whitelist when issued in the refresh endpoint.mp4 (13.82 MB)
MP4
10 1 Source-code 110-100 Replace-the-refresh-token-in-the-whitelist-when-issued-in-the-refresh-endpoint.zip (12.47 KB)
ZIP
11 Validate the refresh token is on the whitelist and return a 400 response if not.mp4 (19.75 MB)
MP4
11 1 Source-code 110-110 Validate-the-refresh-token-is-on-the-whitelist-and-return-a-400-response-if-not.zip (12.56 KB)
ZIP
12 Add a logout endpoint to remove the an active refresh token from the whitelist.mp4 (25.13 MB)
MP4
12 1 Source-code 110-120 Add-a-logout-endpoint-to-remove-the-an-active-refresh-token-from-the-whitelist.zip (13.13 KB)
ZIP
13 Add a script to clear out expired refresh tokens from the whitelist.mp4 (18.48 MB)
MP4
13 1 Source-code 110-130 Add-a-script-to-clear-out-expired-refresh-tokens-from-the-whitelist.zip (13.59 KB)
ZIP
14 See how a single-page application interacts with the API using access tokens.mp4 (23.26 MB)
MP4
14 1 Source-code 110-140 See-how-a-single-page-application-interacts-with-the-API-using-access-tokens.zip (15.21 KB)
ZIP
2 Add an expiry claim to the access token payload when logging in.mp4 (12.99 MB)
MP4
2 2 Source-code 110-020 Add-an-expiry-claim-to-the-access-token-payload-when-logging-in.zip (10.67 KB)
ZIP
3 Throw a custom exception to not accept the JWT if it has expired.mp4 (12.91 MB)
MP4
3 1 Source-code 110-030 Throw-a-custom-exception-to-not-accept-the-JWT-if-it-has-expired.zip (10.94 KB)
ZIP
4 Issue a refresh token in addition to the access token when logging in.mp4 (9.17 MB)
MP4
4 1 Source-code 110-040 Issue-a-refresh-token-in-addition-to-the-access-token-when-logging-in.zip (10.96 KB)
ZIP
5 Add a refresh endpoint and validate the refresh token in the request.mp4 (17.86 MB)
MP4
5 1 Source-code 110-050 Add-a-refresh-endpoint-and-validate-the-refresh-token-in-the-request.zip (11.47 KB)
ZIP
6 Validate the user in the refresh token using the database.mp4 (16.11 MB)
MP4
6 1 Source-code 110-060 Validate-the-user-in-the-refresh-token-using-the-database.zip (11.61 KB)
ZIP
7 Issue a new access token and refresh token to the authenticated user.mp4 (13.4 MB)
MP4
7 1 Source-code 110-070 Issue-a-new-access-token-and-refresh-token-to-the-authenticated-user.zip (11.81 KB)
ZIP
8 Create a table to store a refresh token whitelist.mp4 (7.54 MB)
MP4
8 1 Source-code 110-080 Create-a-table-to-store-a-refresh-token-whitelist.zip (302 B)
ZIP
9 Store the refresh token in the whitelist when issued in the login endpoint.mp4 (16.9 MB)
MP4
9 1 Source-code 110-090 Store-the-refresh-token-in-the-whitelist-when-issued-in-the-login-endpoint.zip (12.37 KB)
ZIP
1 Conclusion & where to go from here.mp4 (9.54 MB)
MP4
1 What is an API.mp4 (16.85 MB)
MP4
2 Make an API call access an API from PHP.mp4 (6.15 MB)
MP4
2 3 Source-code 020-020 Make-an-API-call access-an-API-from-PHP.zip (230 B)
ZIP
3 Decode API results reading JSON in PHP.mp4 (19.73 MB)
MP4
3 3 Source-code 020-030 Decode-API-results reading-JSON-in-PHP.zip (279 B)
ZIP
4 Use API data in a web application.mp4 (13.76 MB)
MP4
4 2 Source-code 020-040 Use-API-data-in-a-web-application.zip (456 B)
ZIP
1 Use cURL instead of file get contents to make an API request.mp4 (24.07 MB)
MP4
1 5 Source-code 030-010 Use-cURL-instead-of-file get contents-to-make-an-API-request.zip (330 B)
ZIP
2 Response codes get the HTTP status code.mp4 (27.83 MB)
MP4
2 4 Source-code 030-020 Response-codes get-the-HTTP-status-code.zip (385 B)
ZIP
3 Request headers add meta data about the request.mp4 (22.12 MB)
MP4
3 2 Source-code 030-030 Request-headers add-meta-data-about-the-request.zip (411 B)
ZIP
4 Response headers read meta data about the response.mp4 (21.48 MB)
MP4
4 3 Source-code 030-040 Response-headers read-meta-data-about-the-response.zip (470 B)
ZIP
5 Get all individual response headers in an array.mp4 (22.58 MB)
MP4
5 2 Source-code 030-050 Get-all-individual-response-headers-in-an-array.zip (567 B)
ZIP
6 Use an API that requires a specific request header.mp4 (19.92 MB)
MP4
6 5 Source-code 030-060 Use-an-API-that-requires-a-specific-request-header.zip (440 B)
ZIP
7 Request method change the method to get a different result with the same URL.mp4 (23.42 MB)
MP4
7 4 Source-code 030-070 Request-method change-the-method-to-get-a-different-result-with-the-same-URL.zip (440 B)
ZIP
8 Request body add a payload to send data along with the request.mp4 (20.92 MB)
MP4
8 2 Source-code 030-080 Request-body add-a-payload-to-send-data-along-with-the-request.zip (515 B)
ZIP
1 REST and RESTful APIs what are they.mp4 (16.37 MB)
MP4
2 Access a RESTful API in PHP with cURL.mp4 (22.54 MB)
MP4
2 2 Source-code 040-020 Access-a-restful-API-in-PHP-with-cURL.zip (435 B)
ZIP
3 Use the Guzzle HTTP client for object-oriented API code.mp4 (25.46 MB)
MP4
3 5 Source-code 040-030 Use-the-Guzzle-HTTP-client-for-object-oriented-API-code.zip (3.11 KB)
ZIP
4 Use an SDK compare the Stripe API to its SDK.mp4 (29.27 MB)
MP4
4 5 Source-code 040-040 Use-an-SDK compare-the-Stripe-API-to-its-SDK.zip (1.65 KB)
ZIP
1 Start writing the API enable URL rewriting.mp4 (7.97 MB)
MP4
1 1 Source-code 050-010 Start-writing-the-API enable-URL-rewriting.zip (521 B)
ZIP
2 The front controller get the resource, ID and the request method.mp4 (10.27 MB)
MP4
2 1 Source-code 050-020 The-front-controller get-the-resource-ID-and-the-request-method.zip (643 B)
ZIP
3 Use a client for API development cURL, Postman or HTTPie.mp4 (6.79 MB)
MP4
3 4 Source-code 050-030 Use-a-client-for-API-development cURL-Postman-or-HTTPie.zip (648 B)
ZIP
4 Set the HTTP status code best practices.mp4 (16.64 MB)
MP4
4 3 Source-code 050-040 Set-the-HTTP-status-code best-practices.zip (734 B)
ZIP
5 Add a controller class to decide the response.mp4 (16.06 MB)
MP4
5 1 Source-code 050-050 Add-a-controller-class-to-decide-the-response.zip (1.27 KB)
ZIP
6 Use Composer's autoloader to load classes automatically.mp4 (11.62 MB)
MP4
6 3 Source-code 050-060 Use-Composers-autoloader-to-load-classes-automatically.zip (1.42 KB)
ZIP
7 Make debugging easier add type declarations and enable strict type checking.mp4 (17.44 MB)
MP4
7 3 Source-code 050-070 Make-debugging-easier add-type-declarations-and-enable-strict-type-checking.zip (1.46 KB)
ZIP
8 Always return JSON add a generic exception handler and JSON Content-Type header.mp4 (25.01 MB)
MP4
8 3 Source-code 050-080 Always-return-JSON add-a-generic-exception-handler-and-JSON-Content-Type-header.zip (1.87 KB)
ZIP
9 Send a 405 status code and Allow header for invalid request methods.mp4 (19.29 MB)
MP4
9 3 Source-code 050-090 Send-a-405-status-code-and-Allow-header-for-invalid-request-methods.zip (1.95 KB)
ZIP
1 Create a new database and a database user to access it.mp4 (6.95 MB)
MP4
1 1 Source-code 060-010 Create-a-new-database-and-a-database-user-to-access-it.zip (280 B)
ZIP
10 Respond with 404 if the resource with the specified ID is not found.mp4 (15.71 MB)
MP4
10 1 Source-code 060-070 Respond-with-404-if-the-resource-with-the-specified-ID-is-not-found.zip (5.62 KB)
ZIP
2 Create a table to store resource data.mp4 (4.63 MB)
MP4
2 1 Source-code 060-020 Create-a-table-to-store-resource-data.zip (329 B)
ZIP
3 Connect to the database from PHP add a Database class.mp4 (18.4 MB)
MP4
3 2 Source-code 060-030 Connect-to-the-database-from-PHP add-a-Database-class.zip (2.39 KB)
ZIP
4 Move the database connection data to a separate env file.mp4 (18.25 MB)
MP4
4 2 Source-code 060-035 Move-the-database-connection-data-to-a-separate-env-file.zip (4.89 KB)
ZIP
5 Create a table data gateway class for the resource table.mp4 (13.73 MB)
MP4
5 1 Source-code 060-040 Create-a-table-data-gateway-class-for-the-resource-table.zip (5.21 KB)
ZIP
6 Show a list of all records.mp4 (13.37 MB)
MP4
6 1 Source-code 060-050 Show-a-list-of-all-records.zip (5.32 KB)
ZIP
7 Configure PDO to prevent numeric values from being converted to strings.mp4 (15.48 MB)
MP4
7 3 Source-code 060-055 Configure-PDO-to-prevent-numeric-values-from-being-converted-to-strings.zip (5.36 KB)
ZIP
8 Convert database booleans to boolean literals in the JSON.mp4 (10.31 MB)
MP4
8 3 Source-code 060-057 Convert-database-booleans-to-boolean-literals-in-the-JSON.zip (5.43 KB)
ZIP
9 Show an individual record.mp4 (12.87 MB)
MP4
9 2 Source-code 060-060 Show-an-individual-record.zip (5.53 KB)
ZIP
1 Get the data from the request as JSON.mp4 (21.61 MB)
MP4
1 5 Source-code 070-010 Get-the-data-from-the-request-as-JSON.zip (5.66 KB)
ZIP
2 Insert a record into the database and respond with a 201 status code.mp4 (10.48 MB)
MP4
2 2 Source-code 070-020 Insert-a-record-into-the-database-and-respond-with-a-201-status-code.zip (5.86 KB)
ZIP
3 Add a generic error handler to output warnings as JSON.mp4 (19.02 MB)
MP4
3 4 Source-code 070-025 Add-a-generic-error-handler-to-output-warnings-as-JSON.zip (5.93 KB)
ZIP
4 Validate the data and respond with a 422 status code if invalid.mp4 (21.13 MB)
MP4
4 2 Source-code 070-030 Validate-the-data-and-respond-with-a-422-status-code-if-invalid.zip (6.14 KB)
ZIP
5 Conditionally validate the data when updating an existing record.mp4 (16.17 MB)
MP4
5 1 Source-code 070-040 Conditionally-validate-the-data-when-updating-an-existing-record.zip (6.19 KB)
ZIP
6 Get the data from the request for updating an existing record.mp4 (19.7 MB)
MP4
6 1 Source-code 070-050 Get-the-data-from-the-request-for-updating-an-existing-record.zip (6.33 KB)
ZIP
7 Update the record in the database and return a 200 status code.mp4 (22.38 MB)
MP4
7 1 Source-code 070-060 Update-the-record-in-the-database-and-return-a-200-status-code.zip (6.5 KB)
ZIP
8 Delete the record in the database and return a 200 status code.mp4 (10.59 MB)
MP4
8 1 Source-code 070-070 Delete-the-record-in-the-database-and-return-a-200-status-code.zip (6.53 KB)
ZIP
1 Create a table to store user account data.mp4 (14.56 MB)
MP4
1 4 Source-code 080-010 Create-a-table-to-store-user-account-data.zip (326 B)
ZIP
10 Restrict the tasks index endpoint to only show the authenticated user's tasks.mp4 (12.01 MB)
MP4
10 1 Source-code 080-100 Restrict-the-tasks-index-endpoint-to-only-show-the-authenticated-users-tasks.zip (8.61 KB)
ZIP
11 Restrict the rest of the task endpoints to the authenticated user's tasks.mp4 (21.91 MB)
MP4
11 1 Source-code 080-110 Restrict-the-rest-of-the-task-endpoints-to-the-authenticated-users-tasks.zip (8.65 KB)
ZIP
12 Cache the database connection to avoid multiple connections in the same request.mp4 (10.72 MB)
MP4
12 1 Source-code 080-120 Cache-the-database-connection-to-avoid-multiple-connections-in-the-same-request.zip (8.69 KB)
ZIP
2 Add a register page to insert a new user record and generate a new API key.mp4 (30.56 MB)
MP4
2 4 Source-code 080-020 Add-a-register-page-to-insert-a-new-user-record-and-generate-a-new-API-key.zip (7.4 KB)
ZIP
3 Send the API key with the request query string or request header.mp4 (14.4 MB)
MP4
3 3 Source-code 080-030 Send-the-API-key-with-the-request query-string-or-request-header.zip (7.43 KB)
ZIP
4 Check the API key is present in the request and return 400 if not.mp4 (7.92 MB)
MP4
4 2 Source-code 080-035 Check-the-API-key-is-present-in-the-request-and-return-400-if-not.zip (7.48 KB)
ZIP
5 Create a table data gateway class for the user table.mp4 (11.63 MB)
MP4
5 1 Source-code 080-040 Create-a-table-data-gateway-class-for-the-user-table.zip (7.93 KB)
ZIP
6 Authenticate the API key and return a 401 status code if invalid.mp4 (10.86 MB)
MP4
6 2 Source-code 080-050 Authenticate-the-API-key-and-return-a-401-status-code-if-invalid.zip (7.96 KB)
ZIP
7 Refactor the front controller to a bootstrap file and Auth class.mp4 (23.66 MB)
MP4
7 1 Source-code 080-060 Refactor-the-front-controller-to-a-bootstrap-file-and-Auth-class.zip (8.51 KB)
ZIP
8 Add a foreign key relationship to link task records to user records.mp4 (6.02 MB)
MP4
8 1 Source-code 080-080 Add-a-foreign-key-relationship-to-link-task-records-to-user-records.zip (295 B)
ZIP
9 Retrieve the ID of the authenticated user when authenticating.mp4 (10.2 MB)
MP4
9 1 Source-code 080-090 Retrieve-the-ID-of-the-authenticated-user-when-authenticating.zip (8.59 KB)
ZIP
1 An introduction to authentication using access tokens.mp4 (8.43 MB)
MP4
2 Create the login script and return 400 if the username and password are missing.mp4 (11.66 MB)
MP4
2 1 Source-code 090-020 Create-the-login-script-and-return-400-if-the-username-and-password-are-missing.zip (9.13 KB)
ZIP
3 Select the user record based on the username in the request.mp4 (12.41 MB)
MP4
3 1 Source-code 090-030 Select-the-user-record-based-on-the-username-in-the-request.zip (9.25 KB)
ZIP
4 Check the username and password and return a 401 status code if invalid.mp4 (9.44 MB)
MP4
4 1 Source-code 090-040 Check-the-username-and-password-and-return-a-401-status-code-if-invalid.zip (9.32 KB)
ZIP
5 Generate an encoded access token containing the user details.mp4 (14.27 MB)
MP4
5 2 Source-code 090-050 Generate-an-encoded-access-token-containing-the-user-details.zip (9.37 KB)
ZIP
6 Pass the access token to the task API endpoints in the authorization header.mp4 (23.85 MB)
MP4
6 3 Source-code 090-060 Pass-the-access-token-to-the-task-API-endpoints-in-the-authorization-header.zip (9.49 KB)
ZIP
7 Validate the access token and decode its contents.mp4 (24.15 MB)
MP4
7 1 Source-code 090-070 Validate-the-access-token-and-decode-its-contents.zip (9.61 KB)
ZIP
8 Get the authenticated user data from the access token.mp4 (17.74 MB)
MP4
8 1 Source-code 090-080 Get-the-authenticated-user-data-from-the-access-token.zip (9.6 KB)
ZIP