Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suminagashi/orchestra
⚡️ Sleek Symfony Admin 🌪
https://github.com/suminagashi/orchestra
annotations backoffice symfony tailwindcss vuejs
Last synced: about 1 month ago
JSON representation
⚡️ Sleek Symfony Admin 🌪
- Host: GitHub
- URL: https://github.com/suminagashi/orchestra
- Owner: suminagashi
- License: mit
- Created: 2020-07-30T00:43:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T12:52:34.000Z (about 2 years ago)
- Last Synced: 2024-10-30T05:06:23.905Z (3 months ago)
- Topics: annotations, backoffice, symfony, tailwindcss, vuejs
- Language: Vue
- Homepage:
- Size: 1010 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Sleek symfony admin boilerplate## Install the bundle :
> Flex recipe incoming...
### Register the bundle :
``` php
// config/bundles.phpreturn [
...
Suminagashi\OrchestraBundle\OrchestraBundle::class => ['all' => true],
];
```### Register the route :
``` yaml
// config/routes/orchestra.yamlorchestra_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 :
``` php
// src/Entity/Dummy.phptest;
}public function setTest(string $test): self
{
$this->test = $test;return $this;
}
}
```### API Reference
#### `@Resource`
| Attribute | Description |
| ------------- | ------------- |
| `label` | Used to set the label displayed in the menu |
| `name` | Override default name of the resource |
| `actions` | WIP : Set available CRUD operations |