coosos / edition-approval-bundle
Create an entity for editing and replace the old if approved with the same id
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0
- doctrine/orm: ^2.5
- symfony/framework-bundle: ^3.0
This package is auto-updated.
Last update: 2019-11-30 00:06:54 UTC
README
WARNING : This bundle may contain several bugs, it has not been checked for all cases and still lacks functionality !
Requirements
- Symfony : 3.x
- PHP : 7.0 and greater
- Doctrine/orm : 2.5
Installation
Step 1 : Download the bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle :
$ composer require coosos/edition-approval-bundle
This command is used if composer is installed in your system.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project :
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Coosos\EditionApprovalBundle\CoososEditionApprovalBundle(),
);
// ...
}
// ...
}
Usage
Add trait in entity file
To edit ...
Use service in controller
To edit ...
Get entity published
To edit ...