Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morning-train/wp-database
Database with Illuminate Models, Eloquent and migrations
https://github.com/morning-train/wp-database
database eloquent php wordpress wp
Last synced: 3 months ago
JSON representation
Database with Illuminate Models, Eloquent and migrations
- Host: GitHub
- URL: https://github.com/morning-train/wp-database
- Owner: Morning-Train
- License: mit
- Created: 2022-12-12T14:53:24.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T11:00:09.000Z (about 1 year ago)
- Last Synced: 2024-09-17T05:09:11.535Z (5 months ago)
- Topics: database, eloquent, php, wordpress, wp
- Language: PHP
- Size: 53.7 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Morningtrain\WP\Database
A Morningtrain package that implements Laravel Eloquent and Migrations into WordPress.
## Table of Contents
- [Introduction](#introduction)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [illuminate/database](#illuminatedatabase)
- [Usage](#usage)
- [Initializing package](#initializing-package)
- [Creating a Model](#creating-a-model)
- [Creating a Migration](#creating-a-migration)
- [Running migrations](#running-migrations)
- [Credits](#credits)
- [Testing](#testing)
- [License](#license)## Introduction
## Getting Started
To get started install the package as described below in [Installation](#installation).
To use the tool have a look at [Usage](#usage)
### Installation
Install with composer
```bash
composer require morningtrain/wp-database
```## Dependencies
### illuminate/database
[Database](https://laravel.com/docs/database)
## Usage
### Initializing package
```php
```
## Credits
- [Mathias Munk](https://github.com/mrmoeg)
- [Martin Schadegg Brønniche](https://github.com/mschadegg)
- [All Contributors](../../contributors)## Testing
```bash
composer test
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.