Initial commit: apps.supersam24.ru
This commit is contained in:
commit
e955e1da36
6566 files changed
+1271095
No files matched your search
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
# Bake plugin for CakePHP
|
||||
|
||||
[](https://travis-ci.org/cakephp/bake)
|
||||
[](https://codecov.io/github/cakephp/bake)
|
||||
[](LICENSE.txt)
|
||||
|
||||
This project provides the code generation functionality for CakePHP. Through a
|
||||
suite of CLI tools, you can quickly and easily generate code for your application.
|
||||
|
||||
## Installation
|
||||
|
||||
You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).
|
||||
|
||||
The recommended way to install composer packages is:
|
||||
|
||||
```
|
||||
composer require --dev cakephp/bake
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
You can find the documentation for bake [on its own cookbook](https://book.cakephp.org/bake/1.x/en/index.html).
|
||||
|
||||
## Testing
|
||||
|
||||
After installing dependencies with composer you can run tests with `phpunit`:
|
||||
|
||||
```bash
|
||||
vendor/bin/phpunit
|
||||
```
|
||||
|
||||
If your changes require changing the templates that bake uses, you can save time updating tests, by
|
||||
enabling bake's 'overwrite fixture feature'. This will let you re-generate the expected output files
|
||||
without having to manually edit each one:
|
||||
|
||||
```bash
|
||||
UPDATE_TEST_COMPARISON_FILES=1 vendor/bin/phpunit
|
||||
```
|
||||
Reference in new issue
Block a user