Mohamad Mahmoodhashnotes.hashnode.dev·Apr 7, 2024Laravel - Create User REST API[0] Prep Continue from previous article or download quickstart file. Laravel v.10 Breeze v.1.28 [1] Create User REST API Create API controller for user: php artisan make:controller API/UserController --api Add new routes for UserController API: (fil...DiscussLaravel
Suraj Shettyhashnode.surajshetty.blog·Apr 3, 2024How to Implement Data Transfer Pattern in LaravelPrerequisites: PHP Basic of Laravel Let's begin by exploring the Data Transfer Pattern in Laravel: To illustrate, I'll use a CRUD application as a test case while implementing BO (Business Object), DAO (Data Access Object), and DTO (Data Transfer...Discuss·83 readsWeb App - Code To Deploydata-transfer object
Mohamad Mahmoodhashnotes.hashnode.dev·Mar 31, 2024Laravel - Create Linked Page[0] Prep Continue from previous article or download quickstart file. [1] Migration Tasks [1.1] Create migration file COPY php artisan make:migration create_workgroups_table --create=workgroups [1.2] Edit migration file Assuming we have the following...Discusslaravel-show-by
Mohamad Mahmoodhashnotes.hashnode.dev·Mar 31, 2024Laravel - Create a page to view records[0] Prep Continue from previous article or download quickstart file. [1] Add page to view records Create a new route: Open your routes/web.php file and add a route that maps to a controller method or a closure. use App\Http\Controllers\MemberControll...Discusslaravel-breeze-page
Mohamad Mahmoodhashnotes.hashnode.dev·Mar 31, 2024Laravel - Import Existing RecordsSome records may have existed prior to the project creation. This tutorial demonstrates the steps to import the records and build a page to access them. [0] Prep Continue from previous article or download quickstart file. [1] Migration Tasks [1.1] Cr...Discusslaravel-import-csv
Mohamad Mahmoodhashnotes.hashnode.dev·Mar 31, 2024Laravel - Setup Breeze Package[0] Prep Continue from previous article or download quickstart file. [1] Get Breeze Package This exercise is based on Laravel Release version 10.3.2. We will be using Breeze version 1.28.0 composer require laravel/breeze:1.28.0 Output: Note: If you...Discuss·51 readsLaravel 10
Ali Anwarechobash.hashnode.dev·Mar 3, 2024Set up Laravel 10 on Unix system - Zero to HeroPre-requisite - Php 8.1 or greater must be there 1. Download and Install Composer - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4...Discuss·1 likeLaravel
Babatunde Daramolaritechoiceacademy.com·Feb 28, 2024How to specify Laravel relationships based on two (or more) columns (composite keys)In Laravel Eloquent ORM, there is no way to define a relationship from one model to another by matching more than one column. For instance, if you want to do something as the below with eager loading, the $this->blog_id will be null while processing ...DiscussLaravel
steve jacobstevejacob.hashnode.dev·Feb 20, 2024Laravel 10: The Evolution is Real - Get Ready for a Development Renaissance!Calling all Laravel enthusiasts, code slingers, and web wizards! The winds of change are upon us, and they're bringing a powerful new force to the Laravel landscape: Laravel 10. Forget everything you thought you knew about building dynamic web applic...DiscussHire Laravel developer
Webhortizwebhortiz.hashnode.dev·Jan 22, 2024UUIDs / ULIDs in Laravel v10I remember when I first came across auto-incremented integer values as Primary Key in MySQL. It seem pretty cool then later came across UUIDs and then ULID. For starters, what are UUIDs and ULIDs? What is a UUID? UUID stands for Universally Unique Id...Discuss·41 readsLaravel 10