Projects

All snippet related to projects

 

Returning a file (image or pdf) in restful api

It is achieved in two simple steps like below after running artisan command for making new controller named FileController.php (...


Uploading image in restful api

It is achieved in two simple steps like below in FileController.phpStep 01: Setting up route for file uploading //at the...


Building topic oriented community in laravel

This type of site is going to be required for blogger ( also developer ) who wants to do personal...


Building mini ecommerce in Laravel

This post will have all the links of step by step implementation of mini ecommerce site with database tables -...


Seeding user data for miniecommerce

Step 01: Creating fresh laravel project composer create-project laravel/laravel miniecommerce Step 02: Setting Up migration, factory and seeder of User...


Seeding product data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Product -mfs // migration file public function up()...


Seeding profile data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Profile -mfs // migration file public function up()...


Seeding Frame Width data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model FrameWidth -mfs // migration file public function up()...


Seeding Order data for miniecommerce contd...

// artisan command for migration, factory and seeder file php artisan make:model Order -mfs // migration file public function up()...


Seeding Order Item data for miniecommerce

// artisan command for migration, factory and seeder file php artisan make:model OrderItem -mfs // migration file public function up()...