PHP code example of edumarques / dynamophp-symfony

1. Go to this page and download the library: Download edumarques/dynamophp-symfony library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

edumarques / dynamophp-symfony example snippets


# config/bundles.php
return [
    // ... other bundles
    EduardoMarques\DynamoPHPBundle\DynamoPHPBundle::class => ['all' => true],
];

use EduardoMarques\DynamoPHP\ODM\EntityManager;

class YourService
{
    public function __construct(
        private EntityManager $entityManager,
    ) {
    }

    // Your methods here
}