2017-25 © Pedro Peláez
 

library softdeletes

A wp-kit component that provides soft deletes for Eloquent models

image

wp-kit/softdeletes

A wp-kit component that provides soft deletes for Eloquent models

  • Tuesday, September 19, 2017
  • by terence1990
  • Repository
  • 1 Watchers
  • 0 Stars
  • 114 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

wp-kit/softdeletes

This is a wp-kit component that provides soft deletes for Eloquent models., (*1)

Installation

If you're using Themosis, install via Composer in the root of your Themosis installation, otherwise install in your Composer driven theme folder:, (*2)

composer require "wp-kit/softdeletes"

Usage

Model

wp-kit/softdeletes comes with a trait, so all you need to do is include these in your model., (*3)

Based on drewjbartlett/wordpress-eloquent you can the Post model provided and use the SoftDeletes trait., (*4)

namespace Theme\Models;

use WPEloquent\Model\Post;
use WPKit\SoftDeletes\SoftDeletes;

class SomePostType extends Post {

    use SoftDeletes;

}

Get Involved

To learn more about how to use wp-kit check out the docs:, (*5)

View the Docs, (*6)

Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:, (*7)

  • Reporting a bug issue
  • Suggesting features
  • Sending a pull request with code fix or feature
  • Following the project on GitHub
  • Sharing the project around your community

For details about contributing to the framework, please check the contribution guide., (*8)

Requirements

Wordpress 4+, (*9)

PHP 5.6+, (*10)

License

wp-kit/softdeletes is open-sourced software licensed under the MIT License., (*11)

The Versions

19/09 2017

dev-master

9999999-dev https://github.com/wp-kit/softdeletes

A wp-kit component that provides soft deletes for Eloquent models

  Sources   Download

MIT

The Requires

 

wordpress eloquent oop themosis wp-kit assley softdeletes

19/09 2017

1.0.0

1.0.0.0 https://github.com/wp-kit/softdeletes

A wp-kit component that provides soft deletes for Eloquent models

  Sources   Download

MIT

The Requires

 

wordpress eloquent oop themosis wp-kit assley softdeletes