Back to Browse

Laravel PostgreSQL Tutorial #1 | CRUD with PostgreSQL | Install PostgreSQL | Connect with Laravel

4.5K views
Premiered Jun 23, 2024
32:34

►Laravel PostgreSQL Tutorial Playlist: https://www.youtube.com/playlist?list=PLLUtELdNs2ZZy4jI-wu4jYUL7rbvC8Mgh Welcome to PostgreSQL series in which we will do CRUD functionality to learn to use PostgreSQL Database and for that we will use Laravel 11 as frontend of the application. We will work on Laravel CRUD functionality with PostgreSQL Database in which we will create, view, update and delete user. What is PostgreSQL? PostgreSQL is an advanced, enterprise-class, and open-source relational database system. PostgreSQL supports both SQL (relational) and JSON (non-relational) querying. Steps to Install Laravel 11: Make sure to install the latest Xampp and Composer before installing Laravel 11 with the below composer command: composer create-project --prefer-dist laravel/laravel project_name "11.*" Steps to Install PostgreSQL: - Install PostgreSQL from the below website as per your OS: https://www.postgresql.org/download/ - Enable the below extensions in the php.ini file: extension=php_pdo_pgsql.dll extension=php_pgsql.dll (We can create a server name like LaravelDBServer and a database name like laravel_db, Username is postgres by default) - Create a Server and Database in pgAdmin 4 that gets automatically installed with PostgreSQL - Connect PostgreSQL with Laravel Update the .env file in the Laravel project like below: DB_CONNECTION=pgsql DB_HOST=127.0.0.1 DB_PORT=5432 DB_DATABASE=laravel_db DB_USERNAME=postgres DB_PASSWORD=123456 Run the "php artisan migrate" command to insert the default tables in pgAdmin. Run the "php artisan serve" command to check if the project runs fine after connection without any errors. ►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers Popular Stack Developers Series that can help you:- ►Laravel 11 Tutorial (with MongoDB): https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTn3ft4BMaAilhZJYLMs9d ►Laravel 10 Tutorial Playlist: https://www.youtube.com/playlist?list=PLLUtELdNs2ZbX7T5wgbBR9wUXt5YPG-hm ►Laravel Multi-Vendor E-commerce Website - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ ►React JS Tutorial for Beginners with Laravel - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYnEIWliBpU98gtorNRNHw1 ►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u ►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R ►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P ►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU ►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA ►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7 ►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf ►Join this channel to get the complete source code of all series: https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join Follow Stack Developers on Social Media to get updates and resolve your queries ►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/ ►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers ►Follow on Instagram - https://www.instagram.com/stackdevelopers2/ ►Follow on GitHub - https://github.com/stackdevelopers #laravel11 #postgresql #laravelcrud

Download

0 formats

No download links available.

Laravel PostgreSQL Tutorial #1 | CRUD with PostgreSQL | Install PostgreSQL | Connect with Laravel | NatokHD