philiplb / crudlex
An easy to use CRUD generator for Silex and Symfony 4.
Installs: 6 151
Dependents: 5
Suggesters: 0
Security: 0
Stars: 109
Watchers: 10
Forks: 23
Open Issues: 8
Requires
- php: >=7.1.3
- doctrine/dbal: ^2.5
- league/flysystem: ^1.0
- philiplb/valdi: 0.10.0
- riimu/kit-phpencoder: ^2.1
- romaricdrigon/metayaml: dev-master#1481b99679b29cbb50c88f3e10e4951ac64b8ad3
- symfony/http-foundation: ^4.1
- symfony/intl: ^4.1
- symfony/routing: ^4.1
- symfony/translation: ^4.1
- symfony/twig-bridge: ^4.1
- symfony/yaml: ^4.1
Requires (Dev)
- eloquent/phony: ^3.0
- eloquent/phony-phpunit: ^4.0
- phpunit/phpunit: ^7.2
- sphpdox/sphpdox: dev-master#bc149dd0a0e3ec1f3e0d24d752552f54bfa17a53
- symfony/browser-kit: ^4.1
- symfony/css-selector: ^4.1
README
CRUDlex is an easy to use, well documented and tested CRUD generator for Symfony 4 and Silex 2. It is very useful to generate admin pages for example.
Features
- Generates a web application for managing MySQL stored data
- C reate entries
- R ead entries in a list and the details of single ones
- U pdate entries
- D elete entries
- The list of entries is paginated, sortable and filterable
- The entries can be relational, one-to-many and many-to-many is supported
- Managing files is supported, either stored in the filesystem or at AWS S3 as addon
- The UI is available in multiple languages
- File storage is abstract, implementing other systems than the filesystem and AWS S3 is easy
- Data storage is abstract, implementing other backends than MySQL is easy
Usage
As CRUDlex is framework agnostic, it is not used directly. There are framework specific implementations available:
Head over to the documentation for setup instructions.
CRUDlex uses SemVer for versioning. Currently, the API changes quickly due to be < 1.0.0, so take care about notes in the changelog when upgrading.
Documentation
- Documentation 0.14.0
- Documentation 0.13.0
- Documentation 0.12.0
- Documentation 0.11.0
- Documentation 0.10.0
- Documentation 0.9.10
Upcoming development version:
Sample Project
For a complete example, checkout the sample project with the classic libraries and books:
Addons
There are several surrounding projects around CRUDlex:
- CRUDlexUser: A library offering an user provider for symfony/security
Roadmap
The project roadmap is organized via milestones:
Beware that not each new feature will get its own ticket there. Some are implemented on the fly when needed.
Each milestone is loosely organized as project in the columns "Backlog" (Todo), "Staging" (Being worked on (next)) and "Done" (done):
Older Versions Documentation
Manual
The manual is a reference describing every feature of CRUDlex:
API Documentation
The CRUDlex API itself is documented here:
Build Notes
How to generate the API documentation:
vendor/bin/sphpdox process CRUDlex src
How to build the documentation:
# Install dependencies pip install Sphinx pip install tk.phpautodoc pip install sphinx_tabs # Generate: cd docs make html