PHPackages                             algoritma/castor-recipes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. algoritma/castor-recipes

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

algoritma/castor-recipes
========================

Composer plugin that installs ready-to-use Castor recipes for various platforms and frameworks

6593↓56%PHPCI passing

Since Jan 14Pushed 5mo agoCompare

[ Source](https://github.com/algoritma-dev/castor-recipes)[ Packagist](https://packagist.org/packages/algoritma/castor-recipes)[ RSS](/packages/algoritma-castor-recipes/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Castor Recipes (Composer Plugin)
================================

[](#castor-recipes-composer-plugin)

Composer plugin that installs ready-to-use recipes for [Castor](https://castor.jolicode.com) for various PHP frameworks/platforms. During installation it asks which recipe to use and:

- creates a `castor.php` file in your project root with a `require` to the selected recipe if it does not exist;
- if `castor.php` already exists, it shows the instructions to add the `require` manually.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- Composer 2
- [jolicode/castor](https://github.com/jolicode/Castor) (Below for quick installation)
- Optional Docker (to run tasks in containers)

Castor installation
-------------------

[](#castor-installation)

```
 curl "https://castor.jolicode.com/install" | bash -s -- --static
```

Castor enable autocompletion
----------------------------

[](#castor-enable-autocompletion)

To show how to enable autocompletion, run:

```
castor completion --help
```

Supported Platforms/Frameworks
------------------------------

[](#supported-platformsframeworks)

- Symfony (`recipes/symfony.php`)
- Laravel (`recipes/laravel.php`)
- Shopware6 (`recipes/shopware6.php`)
- OroCommerce (`recipes/orocommerce.php`)
- Magento 2 (`recipes/magento2.php`)
- WordPress (`recipes/wordpress.php`)

Additional Recipes
------------------

[](#additional-recipes)

- **Spell Checking** (`recipes/_aspell.php`) - Comprehensive spell checking for text files and PHP code
- **Quality Checks** (`recipes/quality-check.php`) - Code quality tools integration
- **Docker** (`recipes/docker.php`) - Docker container management tasks
- **MySQL/PostgreSQL** (`recipes/mysql.php`, `recipes/postgresql.php`) - Database management tasks

Installation
------------

[](#installation)

```
composer require --dev algoritma/castor-recipes
```

During installation you will be asked to choose a recipe. If `castor.php` does not exist, it will be created automatically with the correct `require`, for example:

```
