Giter VIP home page Giter VIP logo

Survos provides a set of Symfony bundles to faciliate rapid development of Symfony applications, and a set of demos and projects that demonstrate how those bundles can be configured and used. Many of the bundles expose [Twig Components][xx] and Twig functions and filters.

Although the bundles often work together, they can be used independently. SurvosBootstrapBundle is an opinionated way to quickly integrated Bootstrap with several Twig Components and implementing the Sneat theme. It leverages KnpMenuBundle to populate the sidebar, navbar, page header and footer. See the [Build A Real Website in 10 minutes] tutorial. Although no bundles have bootstrap-bundle as a dependent, some visually-oriented bundles, like grid-bundle and tree-bundle, require Boostrap to render as intended. Not surprisingly, all the demos and projects use bootstrap-bundle/

Bundles and Dependencies

  • simple-datatables-bundle:

Dokku

dokku config:set DATABASE_URL=postgresql://postgres:[email protected]:5432/kpa?serverVersion=16 dokku config:set MEILI_API_KEY=Y0urVery-S3cureAp1K3y dokku config:set MEILI_SERVER=http://dokku.survos.com:7700/ dokku config:set SENTRY_DSN=https://[email protected]/4506240906166272

DOKKU_APP_RESTORE: 1 DOKKU_APP_TYPE: herokuish DOKKU_PROXY_PORT: 80 GIT_REV: 8f61e59939797be88d658097bbd06ece48d3037b SENTRY_DSN: https://[email protected]/4506240906166272

Demos

See the bundles in actions, and/or build them locally, with these demos (using bootstrap-bundle)

Getting Started

  • Install Symfony 6.1+
  • Install webpack-encore, so that stimulus components work, and run yarn install

A collection of bundles to faciliate rapid development of Symfony applications.

You'll find all packages in /packages directory. Here is a brief overview (tip: click on the package name to see its README with more detailed features):

Key Bundles

These are the bundles used in all the demo and open-source projects built by Survos:

  • [bootstrap-bundle][7] for a beautiful front end.
  • Install [maker-bundle --dev] to rapidly create classes and templates.

Power Bundles

These bundles are used in most applications because they provide utility that is commonly needed.

  • grid-bundle display static tabular data that fits in memory using DataTables
  • api-grid-bundle display tabular data of Doctrine entities using DataTables. Data is loaded via AJAX using ApiPlatform, so developers can integrate a searchable, sortable, infinite-scroll table with just a few lines of code.
  • tree-bundle Use [Gedmo] and API Platform to display and modify hierarchical data.

Other Bundles

These special-purpose bundles are easy to integrate for projects that need them.

  • faker-bundle exposes faker-php methods via twig.
  • barcode-bundle generate SVG barcodes in twig (thin wrapper forpicqer/php-barcode-generator).

Utility Bundles

These bundles are used by other bundles (when functionality is shared), but aren't necessary to include directly in the projects.

  • inspection-bundle Inspects entities to dynamically determine which fields are searchable and sortable. Also exposes twig methods for generating ApiPlatform links to get and update entities (api-grid and api-tree components use these).
  • core-bundle Utilities to facilitate queries and route parameters. Used frequently in our demo projects.

Under Developement

These bundles are usable, but not ready for prime-time.

  • doc-bundle Write your documentation in twig and generate Sphinx documentation.
  • auth-bundle Rapidly integrate authentication, including social media login (built on top of Symfony security-bundle and knp/oauth2).

Coding Standards

symfony new unused-bug --webapp && cd unused-bug
bin/console make:controller AppController
sed -i 's|"type"|"name": "survos/bug", "description": "demo of a bug" , "type"|' composer.json
composer req knplabs/knp-time-bundle
sed -i "s|/app|/|" src/Controller/AppController.php 

cat <<'EOF' > templates/app/index.html.twig
{% extends 'base.html.twig' %}
{% block body %}
{{ "now"|date("m/d/Y")|ago }}
{% endblock %}
EOF

#echo "{{ 'test'|barcode }} or {{ barcode('test', 2, 80, 'red') }} " >> templates/app/index.html.twig
symfony server:start -d
symfony open:local

curl -OL https://github.com/composer-unused/composer-unused/releases/latest/download/composer-unused.phar
php composer-unused.phar

bin/console make:controller App cat <<'EOF' > templates/app/index.html.twig {% extends 'base.html.twig' %} {% block body %} {{ sparkline([2,3,10,8,23,14,9,12,0,0,14])|raw }} {% endblock %} EOF

cat <<'EOF' > tests/AllRoutesTest.php

Survos's Projects

adminkit icon adminkit

🧰 AdminKit is a free & open source Bootstrap 5 Admin Template

adminlte4 icon adminlte4

AdminLTE distributable version 4 (Bootstrap 5)

adminltebundle icon adminltebundle

AdminLTE bundle for Symfony 4 - an backend/admin theme for easy integration with SF4. Its based on the AdminLTE Template and built with webpack-encore. Supports KNPMenuBundle and FOSUserBundle.

apcbundle icon apcbundle

Provide a command to clear APC cache from CLI

barcodebundle icon barcodebundle

[READ ONLY] Symfony Bundle for picqer/php-barcode-generator

bard icon bard

http://opensourceshakespeare.com/ rewritten to use Symfony5 and Postgres, .fountain format

basebundle icon basebundle

quick-start symfony projects with AdminLTE (jquery+bootstrap4), menus, security, etc.

cadb icon cadb

Browse a CollectiveAccess database

cmf-demo icon cmf-demo

The "Symfony CMF Standard Edition" distribution

create-bundle icon create-bundle

UNMAINTAINED - Integrates create.js and createphp into Symfony2

csv-schema icon csv-schema

Parse a CSV file into PHP objects based on a schema.

custom-index-bundle icon custom-index-bundle

The bundle allows to describe and create non-standard database indexes for entities

datatable-api icon datatable-api

Utility to map API Platform calls for integration with DataTables

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.