Comments (11)
Hey, There already is a composer file which loads some php components and makes updating easy.
Do you mean to publish it in the composer database so it can become a dependency ? I've never done such a thing but I can give it a shot. Any directions ?
from kirby3-simplestats.
Oh, I just looked at the installation instructions and couldn't find find composer there so I thought it would be missing.
I still cannot find it at https://packagist.org/search/?query=daandelange%2Fsimplestats (which is the official repository for all composer packages)
from kirby3-simplestats.
I have never used composer in my projects, I'm using it as suggested by Kirby's pluginkit. In SimpleStats, Composer installs and loads some PHP libraries...
To me, it's not clear on the Kirby website how to publish a plugin for use with composer projects... but it seems possible : https://getkirby.com/docs/cookbook/setup/composer#using-composer-for-kirby-plugins.
I'll digg further when I find some time.
from kirby3-simplestats.
I think the only step missing is that you need to submit it: https://packagist.org/packages/submit
from kirby3-simplestats.
There you go : https://packagist.org/packages/daandelange/simplestats
Please let me know if it works correctly.
from kirby3-simplestats.
It works but on packagist it says "This package is not auto-updated.". Does it mean that new updates won't be automatically available via composer? I haven't seen this with other pluigns.
from kirby3-simplestats.
As I understand it, I have to link my Github account to enable automatic updates. (I prefer not to)
But a semi-automatic mechanism is crawling the repo once a week, grabbing new github releases; plus I can manually hit an "Update now" button if needed; so to me this is not an issue. (The warning seems a bit "big".)
from kirby3-simplestats.
Okay, thanks for the explanation
from kirby3-simplestats.
After installing it via composer I cannot find any notice of it in my Kirby 3.6.0 beta 3 environment. I have used the kirby-3.6 branch to install and no options added to the config.
from kirby3-simplestats.
I tried on a fresh starterkit updated to kirby 3.6-beta-6 and everything works automagically. The plugin is in site/plugins
.
composer require daandelange/simplestats ^0.4.0-beta
Maybe you need "getkirby/composer-installer": "^1.1",
?
from kirby3-simplestats.
Sorry, I installed it without specifying the kirby-3.6 branch in composer so that it was the incompatible version 0.3.1
from kirby3-simplestats.
Related Issues (20)
- authorizedRoles not working properly HOT 2
- Feature request: Export function HOT 4
- Feature request: ignore localhost HOT 4
- Feature request: customise breadcrumb label HOT 1
- UI Conflict with Pagetable plugin HOT 3
- Feature request: option to exclude bots HOT 9
- Clarify TimeFrame switching and notify on user mistakes HOT 5
- Software Tests HOT 1
- [Documentation] Composer installation according to docs fails HOT 1
- GDPR notice in README HOT 7
- Use page unique IDs HOT 4
- Roles and permission related features
- Previous chart color and style easier to read? HOT 5
- Empty SimpleStats page HOT 8
- How to "enable" tracking^^ HOT 16
- Bug when login as unknown user role HOT 1
- Page section blueprint : broken and js error thrown HOT 18
- [K4] Missing Panel Tabs in SimpleStats Plugin HOT 3
- [K4] Kirby 4 issues list
- Broken timeline HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby3-simplestats.