Daravel is a Laravel inspired back-end framework built in dart.
At the core of this framework is the dart shelf
web server.
Features
- Laravel like router.
- Middlewares.
- CORS.
- CLI Tool:
dartisan
. - Database Support (SQlite at the moment).
- Query Builder.
- Schema Builder.
- More coming...
Getting started
dart pub global activate daravel_core
Usage
To create a new Daravel project, run the following:
dartisan new <project-name>
This will create a Daravel project with
To generate important files for your project (this is run automatically after project creation), do the following:
dartisan generate
Additional information
Contributions in any form, be it documentation, issues, pull requests, etc. are more than welcome. For pull requests, please make sure that your commits are signed.
Libraries
- annotations/command
- annotations/config
- config/database_connection
- console/commands/generate
- console/commands/make_config
- console/commands/new
- console/commands/serve
- console/console_logger
- core
- daravel_core
- database/concerns/db_driver
- database/concerns/query_builder
- database/concerns/record_set
- database/concerns/schema_builder
- database/db
- database/db_connection
- database/drivers/sqlite/schema/sqlite_blueprint
- database/drivers/sqlite/schema/sqlite_field_blueprint
- database/drivers/sqlite/sqlite
- database/drivers/sqlite/sqlite_query_builder
- database/drivers/sqlite/sqlite_record_set
- database/drivers/sqlite/sqlite_schema_builder
- database/schema
- database/schema/blueprint
- database/schema/field_blueprint
- exceptions/component_not_booted
- exceptions/db_connection_not_found
- exceptions/query
- exceptions/record_not_found
- extensions/string
- helpers/database
- helpers/string
- http/daravel_router
- http/extensions/request
- http/middleware/cors
- http/middleware/http_error
- http/middleware/logger
- http/middleware/middleware
- validation/rule
- validation/validator