dngo-io / books
Dngo Book Project
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
Language:CSS
Type:project
Requires
- php: >=7.0
- andreasindal/laravel-markdown: 1.1
- beberlei/assert: ~2.7
- dngo-io/steem-api: ^1.0
- dngo-io/steem-connect: ^1.0
- eloquent/enumeration: ~5.1
- erusev/parsedown: ^1.7
- intervention/image: ^2.4
- laravel-doctrine/acl: ~1.0
- laravel-doctrine/migrations: ~1.1
- laravel-doctrine/orm: ~1.3
- laravel/framework: ~5.4
- laravelcollective/html: ~5.4
- league/flysystem-aws-s3-v3: ^1.0
- predis/predis: ~1.1
- socialiteproviders/steem: ^1.0
- somnambulist/laravel-doctrine-behaviours: ~0.5
- somnambulist/laravel-doctrine-domain-events: ~0.7
- somnambulist/laravel-doctrine-entity-audit: ~0.5
- somnambulist/laravel-doctrine-entity-validation: ~0.1
- somnambulist/laravel-domain-input-mapper: ~0.5
- somnambulist/laravel-environment-loader: ~0.1
Requires (Dev)
- barryvdh/laravel-debugbar: ~2.3
- barryvdh/laravel-ide-helper: ~2.3
- codeception/codeception: ~2.3
- fzaninotto/faker: ~1.6
- imangazaliev/didom: ^1.13
- laravel/homestead: ^5.4
- mockery/mockery: 0.9.*
This package is not auto-updated.
Last update: 2024-11-19 09:06:40 UTC
README
DNGO Books Project
Use this to kick-start a Doctrine based Laravel app.
Included are the following:
- Barryvdh Debugbar
- Barryvdh IdeHelper
- Beberlei Assert
- Doctrine
- Doctrine Behaviours
- Doctrine Domain Events
- Doctrine Entity Audit
- Doctrine Entity Validation
- Eloquent Enumerations
- Environment Loader
- HTML Builder
- Homestead
Entities
The default namespace is "App".
The following entities and matching repositories are provided, together with YAML mapping files, pre-configured:
- Permission
- Role
- User
Each repository has an interface that is pre-mapped to the interface in the repository config.
Domain Events
The User and Organization entities support Domain Events:
- User Events
- UserCreated
- UserLoggedIn
- AddressAddedToEntity
- AddressRemovedFromEntity
- AuthenticationCredentialsChanged
- GrantedOrganizationToUser
- GrantedPermissionToUser
- GrantedRoleToUser
- RevokedOrganizationFromUser
- RevokedPermissionFromUser
- RevokedRoleFromUser
- Organization Events
- OrganizationCreated
- AddressAddedToEntity
- AddressRemovedFromEntity
Getting Started
composer create-project dngo-io/books dngo-project
- setup your database settings / configure the other options
./artisan doctrine:schema:validate
./artisan doctrine:schema:create
./artisan db:seed
./artisan serve
- to use Vagrant, update the Homestead.yaml with the project location
vagrant up
- then use the artisan commands as above
The standard Laravel welcome app + authentication have been setup and converted to Twig.
Additional Helper Scripts
cache_build.sh
- creates caches for routes, container etc.cache_clean.sh
- clears all caches including Doctrine query cachesvagrant_db_reset.sh
- drops and rebuilds the database (for development only)vagrant_refresh.sh
- fully refreshes all applications files including composer update and npm install