suminagashi / orchestra
Sleek admin for your symfony projects
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 19
Language:Vue
Type:symfony-bundle
Requires
- php: >=7.1
- ext-ctype: *
- ext-iconv: *
- ext-json: *
- doctrine/annotations: ^1.0
- symfony/asset: 5.1.*
- symfony/console: 5.1.*
- symfony/dotenv: 5.1.*
- symfony/finder: 5.1.*
- symfony/flex: ^1.3.1
- symfony/framework-bundle: 5.1.*
- symfony/property-access: 5.1.*
- symfony/property-info: 5.1.*
- symfony/twig-bundle: 5.1.*
- symfony/webpack-encore-bundle: ^1.7
- symfony/yaml: 5.1.*
- twig/extra-bundle: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
- dev-master
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-and-express-6.11.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-and-loader-utils-and-symfony/webpack-encore-2.0.4
- dev-dependabot/composer/twig/twig-3.4.3
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/npm_and_yarn/minimist-1.2.6
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-wip
- dev-poc/vue-router
This package is auto-updated.
Last update: 2025-01-06 17:02:51 UTC
README
Sleek symfony admin boilerplate
Install the bundle :
Flex recipe incoming...
Register the bundle :
// config/bundles.php return [ ... Suminagashi\OrchestraBundle\OrchestraBundle::class => ['all' => true], ];
Register the route :
// config/routes/orchestra.yaml orchestra_admin: resource: "@OrchestraBundle/Resources/config/routes.xml" prefix: /admin
Usage :
- Orchestra provide 2 new annotations :
@Resource
for class@Field
for properties
- The data validation use
Symfony\Component\Validator\Constraints
annotation
Examples :
// src/Entity/Dummy.php <?php namespace App\Entity; use Suminagashi\OrchestraBundle\Annotation\Resource; use Suminagashi\OrchestraBundle\Annotation\Field; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Serializer\Annotation\Groups; use Symfony\Component\Validator\Constraints as Assert; /** * @Resource( * name="Dummy" * ) */ class Dummy { /** * @var string * @ORM\Column(type="string") * @Groups({"read", "write"}) * @Field(label="Test") * @Assert\NotNull() */ private $test; public function getTest(): ?string { return $this->test; } public function setTest(string $test): self { $this->test = $test; return $this; } }