All Projects → freshbitsweb → Laravel Relationships Data

freshbitsweb / Laravel Relationships Data

Migrations, seeders and factories to get up and running with various relationship types data quickly

Projects that are alternatives of or similar to Laravel Relationships Data

Request Migrations
HTTP Request Migrations for API Versioning like Stripe
Stars: ✭ 149 (+451.85%)
Mutual labels:  migrations, laravel
Laravel Smart
Automatic Migrations, Validation and More
Stars: ✭ 48 (+77.78%)
Mutual labels:  migrations, laravel
Laravel Migrate Fresh
An artisan command to build up a database from scratch
Stars: ✭ 179 (+562.96%)
Mutual labels:  migrations, laravel
Laravel Migrations Organiser
A Laravel package to help organise migrations
Stars: ✭ 96 (+255.56%)
Mutual labels:  migrations, laravel
Snipe Migrations
Blazing fast database migrations for Laravel tests.
Stars: ✭ 275 (+918.52%)
Mutual labels:  migrations, laravel
Eloquent Filter
This simple package helps you filter Eloquent data using query filters.
Stars: ✭ 24 (-11.11%)
Mutual labels:  laravel
Paytabs With Laravel
it's a PACKAGE helps in integration paytabs payment gateway with laravel framework, If you are interested to know How it's working, Watch this youtube video below
Stars: ✭ 25 (-7.41%)
Mutual labels:  laravel
Beautymail
Send beautiful HTML emails with Laravel
Stars: ✭ 923 (+3318.52%)
Mutual labels:  laravel
Jsonrpc
JsonRpc Server extension for Laravel/Lumen
Stars: ✭ 23 (-14.81%)
Mutual labels:  laravel
Xblog
A powerful and responsive blog system powered by laravel 5.5.
Stars: ✭ 937 (+3370.37%)
Mutual labels:  laravel
Laravel6 Frontend Boilerplate
A Vue.js Frontend starter project kit template/boilerplate with Laravel 6 Backend API support.
Stars: ✭ 26 (-3.7%)
Mutual labels:  laravel
Laraciproid
Indonesia city and province data migration and seeder for Laravel.
Stars: ✭ 24 (-11.11%)
Mutual labels:  laravel
Laravel Tools
路飞laravel工具
Stars: ✭ 24 (-11.11%)
Mutual labels:  laravel
Blade Migrations Laravel
An intelligent alternative version of Laravel 5/6 Database Migrations - uses raw-sql syntax, transactions, auto-rollback, UP-DOWN-UP testing
Stars: ✭ 25 (-7.41%)
Mutual labels:  laravel
Laravel Aws Sns
Laravel package for the AWS SNS Events
Stars: ✭ 24 (-11.11%)
Mutual labels:  laravel
Lighthouse Utils
An add-on to Lighthouse to auto-generate CRUD actions from types https://github.com/nuwave/lighthouse
Stars: ✭ 26 (-3.7%)
Mutual labels:  laravel
Pagarme Laravel
Pagar.me SDK for Laravel applications.
Stars: ✭ 23 (-14.81%)
Mutual labels:  laravel
Barryvanveen
📰 Personal blog of Barry van Veen. Focuses on Laravel Framework, website optimization and natural computing.
Stars: ✭ 24 (-11.11%)
Mutual labels:  laravel
Spa Starter Kit
A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js
Stars: ✭ 933 (+3355.56%)
Mutual labels:  laravel
Sentry Laravel
Laravel SDK for Sentry
Stars: ✭ 927 (+3333.33%)
Mutual labels:  laravel

Laravel Relationships Data

This repo contains the migrations, seeders and factories to get up and running with various relationships types data quickly. Laravel provides support for many types relationships out-of-the-box. And when there is a need to play with any one of them to test something, I hate repeating the same stuff of creating migration and seeding the data before I can write code to actually test something.

Here's how relationships are put here:

Relationship Type Model 1 Model 2
One to One User Post
One to Many Post Comments
Many to Many User Role
Has Many Through Country Phone
Polymorphic Post/Video Like
Many to Many Polymorphic Post/Video Tag

And here is the ER Diagram image generated with this lovely package by Marcel Pociot.

Laravel Relationships Data

Laravel Nova Scaffolder

This repo also contains the necessary resource classes for each of the models to manage all the entities from the powerful Laravel Nova admin panel. Following are the steps to get you there in a few minutes:

  1. Clone the repo:
git clone https://github.com/freshbitsweb/laravel-relationships-data.git [DIRECTORY_NAME]
  1. Create .env file from the example file:
composer run-script post-root-package-install
  1. Setup .env variables (Mainly the Database details and App URL)

  2. Install the dependencies and run migrations + seeders

composer install
composer run-script post-create-project-cmd
php artisan migrate --seed
  1. Install Laravel Nova

  2. Head over to [APP_URL]/nova. You will see something like this on the post details page for example.

Laravel Nova Post Details Page

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].