Examples¶
Builtin examples¶
Castor's repository provides a bunch of usage examples in the examples directory. These examples are useful to showcase different Castor features in action. They are sorted by feature so do not hesitate to browse them.
As a side note, these examples also act as a full test suite for Castor to ensure each feature works as expected.
Real-world examples¶
Here is some real-world projects using Castor:
- Castor itself: Castor itself is developed with Castor ✨
- jolicode/docker-starter: JoliCode provides a skeleton to start a web project with PHP and Docker, encapsulated by Castor tasks
- monsieurbiz/SyliusPluginMaker: MonsieurBiz created a CLI application based on Castor to ease the creation of Sylius plugins
- redirectionio/docker-example: redirection.io uses some Castor tasks to build, run and tests their Docker examples
- lyrixx/twig-include-syntax: Lyrixx developed a CLI tool to fix Twig include syntax
- jolicode/JoliTypo: JoliCode uses some Castor tasks to compile the PHP demo application of JoliTypo in WASM and host it on GitHub Pages
- gist Spomky/a93cfa4d5373f865c2435bd9b0606522: Spomky proposed a Castor task to check licenses used on a Composer project
Using Castor in one of your public projects? Feel free to contact us, we might add it to this list.