cakephp-ide-helper

IDE Helper plugin for CakePHP

MIT License

Downloads
1.5M
Stars
183
Committers
25
cakephp-ide-helper - 1.11.0

Published by dereuromark over 3 years ago

Improvements

Allow using --ci flag on annotate subcommands

cakephp-ide-helper - 1.10.3

Published by dereuromark over 3 years ago

Fixes

Fixed WinOS compatibility for Illuminator

cakephp-ide-helper - 1.10.2

Published by dereuromark almost 4 years ago

Improvements

Skip table classes that have files ending in "Table" in the App\Model\Table namespace without them actually extending the CakePHP ORM Table class.

cakephp-ide-helper - 1.10.1

Published by dereuromark almost 4 years ago

Improvements

Add (App) controller annotation for components where needed.
This helps to make application-specific controller usage available, e.g. loaded components.

cakephp-ide-helper - 1.10.0

Published by dereuromark almost 4 years ago

Improvements

With PHPStorm 2020.3.1 they finally fixed the broken/buggy behavior around meta data and trait/inheritance usage.
Now it works as expected for PHP and as such we can now ship some really awesome and useful new features for it:

  • Entity auto-complete/suggest for setDirty(), setError(), getOriginal() and others
  • Component unload() auto-complete/suggest

img_entity

cakephp-ide-helper - 1.9.0

Published by dereuromark almost 4 years ago

Improvements

Added Configure key autocomplete for

  • Configure::read()
  • Configure::readOrFail()
  • Configure::check()
  • Configure::write()
  • Configure::delete()
  • Configure::consume()
  • Configure::consumeOrFail()

ide-helper-configure

cakephp-ide-helper - 1.8.2

Published by dereuromark almost 4 years ago

Fixes

Fixed key collision of DatabaseTableColumnNameTask vs DatabaseTableColumnTypeTask

cakephp-ide-helper - 1.8.1

Published by dereuromark about 4 years ago

Fixes

  • Don't fail table task on empty DB.

Improvements

  • Allowed new diff dependency v4.
  • Allowed array support for foreign keys
cakephp-ide-helper - 1.8.0

Published by dereuromark about 4 years ago

Improvements

Added several IDE autocomplete/typehinting:

  • $table->removeBehavior($alias)
  • $this->Form->control()

PHPStan level 8 now.

cakephp-ide-helper - 0.14.10

Published by dereuromark about 4 years ago

Fixes

Backported fix of ControllerAnnotator working with prefixed controllers (e.g. Admin)

cakephp-ide-helper - 1.7.1

Published by dereuromark over 4 years ago

Fixes

Fixed finders to be found and collected also in Table classes by default.
So far only behavior ones were included and one had to use a special config for the others.

cakephp-ide-helper - 1.7.0

Published by dereuromark over 4 years ago

Improvements

Fixture auto-complete added (CakePHP 4.1+)

       /**
         * @return string[]
         */
        protected function getFixtures(): array 
        {
            $this->addFixture('core.Articles')
                ->addFixture('app.SomeModel')
                ->addFixture('plugin.Some/ComplicatedName.SomePluginModel');

            return parent::getFixtures();
        }

Example image:
fixtures

cakephp-ide-helper - 0.14.9

Published by dereuromark over 4 years ago

Improvements

Some backports to CakePHP 3.x

cakephp-ide-helper - 1.6.0

Published by dereuromark over 4 years ago

Improvements

  • Added new 2020.01 meta directive ExitPoint
  • Print out existing/used sets for easier reuse in verbose mode of the generator

Fixes

  • Do not include abstract table classes.
cakephp-ide-helper - 1.5.0

Published by dereuromark over 4 years ago

Fixes

  • Fixed translation key autocomplete generation for quoted strings.
  • Fixed deprecated Type calls to TypeFactory ones

Improvements

  • Added table autocomplete for Seed classes
  • Added Type::map() autocomplete
  • Allow more control over key quoting through KeyValue value object if needed (most won't)
  • Annotate actual virtual fields on the entity as @property-read (read-only).
  • CakePHP 4.1 ready autocomplete on route path strings for URL generation
    • Router::pathUrl()
    • UrlHelper::buildFromPath()
    • HtmlHelper::linkFromPath()

Note: Requires cakephp/bake 2.1+ now and with it the new CakePHP TwigView plugin.

ide_html

URL generation has never been this easy and fast. Type 1-2 chars and select quickly what you meant.
Almost mind-reading capability here :)

cakephp-ide-helper - 1.4.2

Published by dereuromark over 4 years ago

Fixes

Fixed file existence checks for Translate task.

cakephp-ide-helper - 1.4.1

Published by dereuromark over 4 years ago

Fixes

Fixed notice for Translate task.

cakephp-ide-helper - 1.4.0

Published by dereuromark over 4 years ago

Fixes

FIxed generation of directives for chainable methods from Override to ExpectedArguments.

Improvements

Added several more IDE autocomplete improvements as generator tasks.
The most useful and important one is autocomplete now for __() and __d() translating:

ide_autocomplete_translations

Also:

  • Mailers
  • View helpers
  • ConnectionManager
  • Layouts
  • Cache
  • Request/ENV
cakephp-ide-helper - 1.3.0

Published by dereuromark over 4 years ago

Improvements

More migration plugin support

  • DatabaseTableColumnNameTask added
  • DatabaseTableColumnTypeTask added

Column names:
ide_autocomplete_column_name

Column types:
ide_autocomplete_column_type

cakephp-ide-helper - 1.2.0

Published by dereuromark over 4 years ago

Improvements

  • Added Plugin whitelist and blacklist as IdeHelper.plugins. This makes it possible to already generate and annotate based on not loaded plugins, since plugins often do not have to be loaded to function.
  • Added DatabaseTableTask generator task. This task is useful when using Migrations plugin and creating Migration files.
Package Rankings
Top 1.19% on Packagist.org
Badges
Extracted from project README
CI Coverage Status PHPStan Minimum PHP Version