All Projects → contributte → webapp-skeleton

contributte / webapp-skeleton

Licence: MIT license
🎁 Web application project skeleton based on Nette Framework (@nette), Doctrine (@nettrine) and Contributte (@contributte) libraries by @f3l1x.

Programming Languages

PHP
23972 projects - #3 most used programming language
Latte
28 projects
HTML
75241 projects
CSS
56736 projects
Makefile
30231 projects
Dockerfile
14818 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to webapp-skeleton

playground
📚 Examples, projects, webprojects, skeletons for Nette Framework (@nette) from community members. Included @contributte @apitte @nettrine projects.
Stars: ✭ 23 (-71.95%)
Mutual labels:  nette-framework, project, contributte
translation
👅 Translations (symfony/translation) to Nette Framework (@nette)
Stars: ✭ 55 (-32.93%)
Mutual labels:  nette-framework, contributte
application
✨ Extra contrib to nette/application (@nette)
Stars: ✭ 23 (-71.95%)
Mutual labels:  nette-framework, contributte
orm
🔥 Well-integrated Doctrine ORM for Nette Framework
Stars: ✭ 51 (-37.8%)
Mutual labels:  nette-framework, nettrine
api-router
👨 RESTful router for your API in Nette Framework (@nette). Created either directly or via annotation.
Stars: ✭ 18 (-78.05%)
Mutual labels:  nette-framework, contributte
fileupload
🆙 File uploads on steroids for Nette Framework (@nette). Implements blueimp/jquery-file-upload.
Stars: ✭ 28 (-65.85%)
Mutual labels:  nette-framework, contributte
logging
💥 Universal logging support to Tracy / Nette Framework (@nette)
Stars: ✭ 18 (-78.05%)
Mutual labels:  nette-framework, contributte
app
Aplus Framework App Project
Stars: ✭ 338 (+312.2%)
Mutual labels:  skeleton, project
psr7-http-message
💫 PSR #7 [HTTP Message Interface] to Nette Framework (@nette)
Stars: ✭ 17 (-79.27%)
Mutual labels:  nette-framework, contributte
migrations
🏃 Doctrine Migrations for Nette Framework
Stars: ✭ 36 (-56.1%)
Mutual labels:  nette-framework, nettrine
image-storage
🌠 Image storage for Nette framework
Stars: ✭ 27 (-67.07%)
Mutual labels:  nette-framework, contributte
Pollinate
Template your base files and generate new projects from Git(Hub).
Stars: ✭ 213 (+159.76%)
Mutual labels:  skeleton, project
apitte-openapi
👪 OpenAPI specification for Apitte stack
Stars: ✭ 15 (-81.71%)
Mutual labels:  nette-framework, apitte
reCAPTCHA
‼️ Google reCAPTCHA (security) for Nette Framework \ Forms
Stars: ✭ 35 (-57.32%)
Mutual labels:  nette-framework, contributte
event-dispatcher
💥 Best events support (symfony/event-dispatcher) to Nette Framework (@nette)
Stars: ✭ 23 (-71.95%)
Mutual labels:  nette-framework, contributte
codeception
▶️ Integration of Nette Framework to Codeception.
Stars: ✭ 27 (-67.07%)
Mutual labels:  nette-framework, contributte
Spoon
Our simple Laravel boilerplate
Stars: ✭ 156 (+90.24%)
Mutual labels:  skeleton, project
dockerfiles
🐳 Dockerfiles for Nette Framework. Nette in Docker. (@nette)
Stars: ✭ 15 (-81.71%)
Mutual labels:  nette-framework, contributte
Plant-Disease-Identification-using-CNN
Plant Disease Identification Using Convulutional Neural Network
Stars: ✭ 89 (+8.54%)
Mutual labels:  project
Pyautogui-module-using-audio
📌 This repo is all about how we implemented pyttsx3,speech_recognition,colored all three modules with pyautogui module.
Stars: ✭ 25 (-69.51%)
Mutual labels:  project

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte


Goal

Main goal is to provide best prepared starter-kit project for Nette developers.

Focused on:

  • latest PHP 8.0
  • nette/* packages
  • Doctrine ORM via nettrine/*
  • Symfony components via contributte/*
  • codestyle checking via CodeSniffer and ninjify/*
  • static analysing via phpstan
  • unit / integration tests via Nette Tester and ninjify/*

Demo

https://examples.contributte.org/webapp-skeleton/

Installation

To install latest version of contributte/webapp-skeleton use Composer.

composer create-project -s dev contributte/webapp-skeleton acme

Install using docker

  1. At first, use composer to install this project.

    composer create-project -s dev contributte/webapp-skeleton
    
  2. After that, you have to setup Postgres >= 10 database. You can start it manually or use docker image dockette/postgres:12.

    docker run -it -p 5432:5432 -e POSTGRES_PASSWORD=webapp -e POSTGRES_USER=webapp dockette/postgres:12
    

    Or use make task, make docker-postgres.

  3. Custom configuration file is located at config/local.neon. Edit it if you want.

    Default configuration should look like:

    # Host Config
    parameters:
        # Database
        database:
     	   host: localhost
     	   dbname: webapp
     	   user: webapp
     	   password: webapp
  4. Ok database is now running and application is configured to connect to it. Let's create initial data.

    Run NETTE_DEBUG=1 bin/console migrations:migrate to create tables. Run NETTE_DEBUG=1 bin/console doctrine:fixtures:load --append to create first user(s).

    Or via task make build.

  5. Start your devstack or use PHP local development server.

    You can start PHP server by running php -S localhost:8000 -t www or use prepared make task make dev.

  6. Open http://localhost and enjoy!

    Take a look at:

Install using docker-compose

  1. At first, use composer to install this project.

    composer create-project -s dev contributte/webapp-project
    
  2. Modify config/local.neon and set host to database

    Default configuration should look like this:

    # Host Config
    parameters:
        # Database
        database:
     	   host: database
     	   dbname: webapp
     	   user: webapp
     	   password: webapp
  3. Run docker-compose up

  4. Open http://localhost and enjoy!

    Take a look at:

Features

Here is a list of all features you can find in this project.

  • PHP 8.0+
  • 📦 Packages
    • Nette 3+
    • Contributte
    • Nettrine
  • 🌳 Structure
    • app
      • config - configuration files
        • env - prod/dev/test environments
        • app - application configs
        • ext - extensions configs
        • local.neon - local runtime config
        • local.neon.dist - template for local config
      • domain - business logic and domain specific classes
      • model - application backbone
      • modules - Front/Admin module, presenters and components
      • resources - static content for mails and others
      • ui - UI components and base classes
      • bootstrap.php - Nette entrypoint
    • bin - console entrypoint (bin/console)
    • db - database files
      • fixtures - PHP fixtures
      • migrations - migrations files
    • docs - documentation
    • var
      • log - runtime and error logs
      • tmp - tmp files and cache
    • tests - test engine and unit/integration tests
    • vendor - composer's folder
    • www - public content
  • Tracy
    • Cool error 500 page

Notable changes

  • $user variable in templates is renamed to $_user

Composer packages

Take a detailed look 👀 at each single package.

Doctrine

Dev

Screenshots

[email protected] / admin

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].