1. Go to this page and download the library: Download gales/maker-bundle 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/ */
gales / maker-bundle example snippets
// src/Entity/Solicitud.php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class SolicitudBanco
{
#[ORM\ManyToOne(targetEntity: SolicitudEstado::class)]
#[ORM\JoinColumn(nullable: false)]
private SolicitudEstado $estado;
}
// src/Entity/SolicitudEstado.php
namespace App\Entity;
use GALes\MakerBundle\Attribute as GalesMaker;
#[GalesMaker\OrderBy('descripcion')]
class SolicitudEstado
{
private string $descripcion;
}