Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leapt/demo

Simple Symfony project setup to test some Leapt bundles.
https://github.com/leapt/demo

Last synced: about 1 month ago
JSON representation

Simple Symfony project setup to test some Leapt bundles.

Awesome Lists containing this project

README

        

Demo project for Leapt bundles
==============================

Simple Symfony project setup to test some Leapt bundles.

Requires PHP 8.2+ as it runs Symfony 7.1.

Currently configured:

* Data lists
* File uploads
* Paginator
* Form types
* RSS feeds
* Sitemap

Set up (using [Symfony CLI](https://symfony.com/download)):

```bash
# Clone project
git clone https://github.com/leapt/demo.git leapt-demo
cd leapt-demo

# Install vendors
symfony composer i

# Reset database
rm -f var/data.db
symfony console d:d:c --quiet
symfony console d:s:u --force --quiet
symfony console a:f:l
# Or, if you use Task:
task fixtures

# Run Symfony CLI server
symfony serve -d

# To stop Symfony CLI server:
symfony server:stop
```

Then configure AWS config in your `.env.local` file (based on `.env` file) if you want to test S3 upload and head to the URL provided by Symfony CLI.