New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: improve the plugins manager #11

Closed
yosymfony opened this Issue Jun 24, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@yosymfony
Copy link
Member

yosymfony commented Jun 24, 2014

Prior to Spress 1.1.0, to create a plugins without Composer is not easy: you need to create a .php file, a folder and a composer.json for your plugin and then, you need to register the namespace of your plugin in composer.json of your site. With this proposal, all .php files in _plugins folder will be loaded automatically with exception of files located at _plugin\vendors. Advantages:

  • Write simple plugins without namespaces.
  • Plugin located at plugins root or subfolder.
  • Not need dump the composer autoloader for classloader.

"spress_class" key at "extra" section in composer.json:
This key become optional and only necessary for plugins with namespace.

@yosymfony yosymfony referenced this issue Jun 24, 2014

Closed

Roadmap to v1.1.0 #8

7 of 8 tasks complete

yosymfony referenced this issue Jun 26, 2014

@yosymfony yosymfony closed this Jul 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment