PHPackages                             yhshanto/larapress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. yhshanto/larapress

ActiveLibrary

yhshanto/larapress
==================

Wordpress Plugin Boilerplate in laravel 5.5.\* flavour.

1.3(8y ago)2171MITPHP

Since Feb 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yousuf-hossain-shanto/larapress)[ Packagist](https://packagist.org/packages/yhshanto/larapress)[ RSS](/packages/yhshanto-larapress/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

LaraPress - Wordpress Plugin Boilerplate in laravel 5.5.\* flavour.
===================================================================

[](#larapress---wordpress-plugin-boilerplate-in-laravel-55-flavour)

[![](https://camo.githubusercontent.com/12358007a21e41ae2f71c219085a39abce530f8d1180fcffa973dfe33b6b1d46/68747470733a2f2f692e696d6775722e636f6d2f58667862626b632e706e67)](https://camo.githubusercontent.com/12358007a21e41ae2f71c219085a39abce530f8d1180fcffa973dfe33b6b1d46/68747470733a2f2f692e696d6775722e636f6d2f58667862626b632e706e67)

[![](https://camo.githubusercontent.com/dd282b9155378f00c431e33aa94410e18ac6fda8e4c96038e51467d8b49a1fd8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e332d627269676874677265656e2e737667)](https://camo.githubusercontent.com/dd282b9155378f00c431e33aa94410e18ac6fda8e4c96038e51467d8b49a1fd8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d76312e332d627269676874677265656e2e737667) [![](https://camo.githubusercontent.com/a5a75b38e1fb565dec14c75829708e6c0c1d0c5b483048b8ef9be140523a569f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d2532333436383937412e737667)](https://camo.githubusercontent.com/a5a75b38e1fb565dec14c75829708e6c0c1d0c5b483048b8ef9be140523a569f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d2532333436383937412e737667)

Requirements
============

[](#requirements)

- PHP &gt;=7.0
- WORDPRESS &gt;= 4.x.x

Installation
============

[](#installation)

```
composer create-project yhshanto/larapress plugin-name

```

After install larapress project open plugin-name.php file and edit following as your need.

```
/*
 * Plugin Name:       Your Plugin name
 * Plugin URI:        your-plugin-url
 * Description:       This is a short description
 * Version:           1.0.0
 * Author:            Plugin Author
 * Author URI:        Author Url
 * License:           GPL-2.0+
 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain:       Text Domain
*/
```

Usage
=====

[](#usage)

### Database

[](#database)

To Use **Wordpress Database** like **Laravel Eloquent** Style, First Create A class in plugin directory which extend **Illuminate\\Database\\Eloquent\\Model** Class.

Example **plugin/Post.php**

```
