janmikolas / webapp-nette
Basic application for working with forms and datagrid by @janmikolas, used Contributte code by @f3l1x.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 5
Type:project
Requires
- php: >=8.0 <8.2
- contributte/application: ^0.5.0
- contributte/bootstrap: ^0.5.0
- contributte/cache: ^0.6.0
- contributte/console: ^0.9.0
- contributte/console-extra: ^0.7.0
- contributte/di: ^0.5.0
- contributte/event-dispatcher: ^0.8.0
- contributte/event-dispatcher-extra: ^0.8.0
- contributte/forms: ^0.5.0
- contributte/http: ^0.4.0
- contributte/latte: ^0.5.0
- contributte/mail: ^0.6.0
- contributte/mailing: ^0.5.0
- contributte/monolog: ^0.5.0
- contributte/neonizer: ^0.5.0
- contributte/pdf: ^6.1
- contributte/security: ^0.4.0
- contributte/tracy: ^0.5.0
- contributte/utils: ^0.5.0
- nettrine/annotations: ^0.7.0
- nettrine/cache: ^0.3.0
- nettrine/dbal: ^0.8.0
- nettrine/fixtures: ^0.6.0
- nettrine/migrations: ^0.8.0
- nettrine/orm: ^0.8.0
Requires (Dev)
- contributte/dev: ^0.3
- mockery/mockery: ^1.3.0
- nelmio/alice: ^3.5.8
- ninjify/nunjuck: ^0.4
- ninjify/qa: ^0.13
- phpstan/phpstan: ^1.0
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-doctrine: ^1.0
- phpstan/phpstan-nette: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
This package is auto-updated.
Last update: 2024-12-05 16:41:41 UTC
README
Create a basic application for working with forms and datagrid on Contributte.
Focused on:
- PHP >= 8.0, <8.2
- form / action (create, edit, delete)
- datagrid (pagination, limit, sorting)
- materializecss template
- merge & bug fix
Used:
- contributte webapp skeleton, nettrine, webpack
- materializecss
Demo
login: test@test.cz password: test
Install
-
To install latest version of
janmikolas/webapp-nette
use Composer.composer create-project -s dev janmikolas/webapp-nette acme
-
Modify
config/local.neon
and set host todatabase
Default configuration should look like this:
# Host Config parameters: # Database database: host: localhost dbname: jm_webapp user: webapp password: webapp
-
Modify
config/app/parameters.neon
and set driver todatabase
Default configuration should look like this:
# Database database: driver: mysqli port: 3307
-
Import
db/db.sql
todatabase
-
Clean cache dir
var/tmp/cache
(not required) -
Drop tables (not required)
php bin/console orm:schema-tool:drop --dump-sql --force
-
Create tables (not required)
php bin/console orm:schema-tool:update --dump-sql --force
-
Insert fixtures data (not required)
php bin/console doctrine:fixtures:load --append
-
Install assets
# (if exist node_modules rmdir node_modules /q /s) && npm install npm install
-
Build assets
npm run start