Skip to content

bluepioupiou/fixture-doc-autocase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fixtures Documentation Auto Case

This project has been done for the sole purpose of beeing a working exemple for the Fixture Documentation Bundle.

It demonstrates the use of this bundle with the basic doctrine fixtures manager Doctrine Symfony.

Usage

To use this repository, you have to clone it next to the fixture documentation bundle.

The launch the following commands in order

make init
make load
make start
  • make init will launch the composer install command and create the database in sqlite
  • make load will populate the database with doctrine bundle
  • make start will launch a web server on port 8000

Then go to your localhost to see the result by yourself

Modifications

You can edit, add, delete files in src/entity to test some behaviors. Don't forget (or do to see what it does) to add theses entities in config/packages/fixtures_doc.yaml and to edit AppFixtures.php in src/DataFixtures folder.

If you change the structure of the models you'll have to run 'make init' command again

Statistics

The use of the bundle add around 400% of time to load fixtures. For this project it takes approx. from 0.33s to 1.66s in average on 10 launch, for a case with 100 customers and 1000 products. In the future we'll have to improve these delays, but a fixture project don't have to be too big either

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published