All Projects → dereuromark → Cakephp Ide Helper

dereuromark / Cakephp Ide Helper

Licence: mit
IDE Helper plugin for CakePHP

Projects that are alternatives of or similar to Cakephp Ide Helper

Cakephp Tinyauth
CakePHP TinyAuth plugin for an easy and fast user authentication and authorization. Single or multi role. DB or config file based.
Stars: ✭ 114 (-17.39%)
Mutual labels:  cakephp, cakephp-plugin
Flypie
Flysystem plugin for CakePHP
Stars: ✭ 35 (-74.64%)
Mutual labels:  cakephp, cakephp-plugin
Users
Users Plugin for CakePHP
Stars: ✭ 488 (+253.62%)
Mutual labels:  cakephp, cakephp-plugin
Cakepdf
CakePHP plugin for creating and/or rendering PDFs, supporting several popular PDF engines.
Stars: ✭ 360 (+160.87%)
Mutual labels:  cakephp, cakephp-plugin
Footprint
CakePHP plugin to allow passing currently logged in user to model layer.
Stars: ✭ 81 (-41.3%)
Mutual labels:  cakephp, cakephp-plugin
Asset compress
An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.
Stars: ✭ 370 (+168.12%)
Mutual labels:  cakephp, cakephp-plugin
Slug
Slugging for CakePHP
Stars: ✭ 32 (-76.81%)
Mutual labels:  cakephp, cakephp-plugin
Enum
Enumeration list for CakePHP 3
Stars: ✭ 27 (-80.43%)
Mutual labels:  cakephp, cakephp-plugin
Webservice
Bringing the power of the CakePHP ORM to your favourite webservices
Stars: ✭ 79 (-42.75%)
Mutual labels:  cakephp, cakephp-plugin
Aclmanager
Plugin to manage Acl for CakePHP 2.x
Stars: ✭ 59 (-57.25%)
Mutual labels:  cakephp, cakephp-plugin
Crud
Production-grade rapid controller development with built in love for API and Search
Stars: ✭ 339 (+145.65%)
Mutual labels:  cakephp, cakephp-plugin
Cakephp Proffer
An upload plugin for CakePHP 3
Stars: ✭ 121 (-12.32%)
Mutual labels:  cakephp, cakephp-plugin
Cakephp Tools
A CakePHP Tools plugin containing lots of useful helpers, behaviors, components, shells, ...
Stars: ✭ 325 (+135.51%)
Mutual labels:  cakephp, cakephp-plugin
Migrations
CakePHP database migrations plugin
Stars: ✭ 114 (-17.39%)
Mutual labels:  cakephp, cakephp-plugin
Bootstrap Ui
CakePHP: Transparently use Bootstrap
Stars: ✭ 293 (+112.32%)
Mutual labels:  cakephp, cakephp-plugin
Debug kit
Debug Toolbar for CakePHP applications.
Stars: ✭ 858 (+521.74%)
Mutual labels:  cakephp, cakephp-plugin
queue
A queue-interop compatible Queueing library
Stars: ✭ 25 (-81.88%)
Mutual labels:  cakephp, cakephp-plugin
crud-users
CakePHP: Users plugin based on the CRUD action classes
Stars: ✭ 17 (-87.68%)
Mutual labels:  cakephp, cakephp-plugin
Authorization
PSR7 Middleware for authorization
Stars: ✭ 50 (-63.77%)
Mutual labels:  cakephp, cakephp-plugin
Cakephp Hybridauth
CakePHP plugin for HybridAuth
Stars: ✭ 81 (-41.3%)
Mutual labels:  cakephp, cakephp-plugin

CakePHP IdeHelper Plugin

CI Coverage Status PHPStan Latest Stable Version Minimum PHP Version License Total Downloads

IdeHelper plugin for CakePHP applications.

Boost your productivity. Avoid mistakes.

This branch is for use with CakePHP 4.0+. For details see version map.

Features

The main idea is to improve IDE compatibility and use annotations to make the IDE understand the "magic" of CakePHP, so you can click through the class methods and object chains as well as spot obvious issues and mistakes easier. The IDE will usually mark problematic code yellow (missing, wrong method etc).

This also improves compatibility with tools like PHPStan. Those can then follow the code easier and provide more valuable help.

  • Add annotations to existing code (e.g. when upgrading an application) just like baking would to new code.
  • Can run multiple times without adding the annotations again.
  • It can also replace or remove outdated annotations.
  • Works with your application as well as any loaded plugin.
  • CI check support, hook it up just like the coding standards check.

Supports annotations for:

  • Models (Tables and Entities)
  • Controllers (including prefixes like Admin) and Components
  • View (AppView) and Helpers
  • Templates (.php PHP template files including elements)
  • Commands, Shells and Tasks
  • ... and more

Screenshot

Supports code completion help for:

  • Behaviors (property access on the BehaviorRegistry)

Supports IDE autocomplete/typehinting of (magic)strings as well as return types/values for:

  • Plugins, Components, Behaviors, Helpers, Mailers
  • Associations, Validation
  • I18n Translation, Cache
  • Elements and layouts
  • Tables and their fields
  • Route paths, Request/ENV, Connection
  • ... and more (using PhpStorm meta file)

Supports better IDE usage with Illuminator tasks to enhance existing code:

  • EntityFieldTask adds all entity fields as class constants for easier usage in IDEs

IDE support

This plugin is supposed to work with ANY IDE that supports annotations and code completion. IDEs tested so far for 100% compatibility:

  • PhpStorm (incl. meta file generator)
  • IntelliJ
  • Atom
  • VS Code
  • ... [Report or PR your IDE of choice here to confirm its full compatibility]

See Wiki for details and tips/settings.

Plugins with meta file generator tasks

The following plugins use this plugin to improve IDE compatibility around factory and magic string usage:

Plugins with illuminator tasks

  • StateMachine for syncing states from XML into PHP.
  • ... (add yours here)

More

More collections of useful tasks can be found in the IdeHelperExtra plugin.

Install, Setup, Usage

See the Docs for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].