├── cache └── .gitignore ├── .gitignore ├── web ├── favicon.ico ├── index.php └── css │ ├── main.css │ └── widget.css ├── src ├── config.php.dist ├── views │ ├── error.html.twig │ ├── widget_layout.html.twig │ ├── layout.html.twig │ ├── _ga.html.twig │ ├── widget_events.html.twig │ └── index.html.twig ├── Fbew │ ├── FacebookServiceProvider.php │ └── Twig │ │ └── FacebookEventExtension.php ├── app.php └── controllers.php ├── composer.json ├── LICENSE ├── README.md └── composer.lock /cache/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | src/config.php 2 | vendor/* 3 | 4 | -------------------------------------------------------------------------------- /web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmikola/fb-events-widget/HEAD/web/favicon.ico -------------------------------------------------------------------------------- /web/index.php: -------------------------------------------------------------------------------- 1 | run(); 9 | -------------------------------------------------------------------------------- /src/config.php.dist: -------------------------------------------------------------------------------- 1 | 7 |
{{ error ? error|replace({"\n": '
' })|raw : 'An error occurred' }}
72 | {% endblock %}
73 |
--------------------------------------------------------------------------------
/composer.lock:
--------------------------------------------------------------------------------
1 | {
2 | "hash": "63d1951b147919468200d4a0db1a34fb",
3 | "packages": [
4 | {
5 | "name": "facebook/php-sdk",
6 | "version": "v3.2.2",
7 | "source": {
8 | "type": "git",
9 | "url": "https://github.com/facebook/facebook-php-sdk.git",
10 | "reference": "v3.2.2"
11 | },
12 | "dist": {
13 | "type": "zip",
14 | "url": "https://api.github.com/repos/facebook/facebook-php-sdk/zipball/v3.2.2",
15 | "reference": "v3.2.2",
16 | "shasum": ""
17 | },
18 | "require": {
19 | "ext-curl": "*",
20 | "ext-json": "*",
21 | "php": ">=5.2.0"
22 | },
23 | "type": "library",
24 | "autoload": {
25 | "classmap": [
26 | "src"
27 | ]
28 | },
29 | "notification-url": "https://packagist.org/downloads/",
30 | "license": [
31 | "Apache2"
32 | ],
33 | "authors": [
34 | {
35 | "name": "Facebook",
36 | "homepage": "https://github.com/facebook/facebook-php-sdk/contributors"
37 | }
38 | ],
39 | "description": "Facebook PHP SDK",
40 | "homepage": "https://github.com/facebook/facebook-php-sdk",
41 | "keywords": [
42 | "facebook",
43 | "sdk"
44 | ],
45 | "time": "2013-01-15 21:37:15"
46 | },
47 | {
48 | "name": "pimple/pimple",
49 | "version": "v1.0.2",
50 | "source": {
51 | "type": "git",
52 | "url": "https://github.com/fabpot/Pimple.git",
53 | "reference": "v1.0.2"
54 | },
55 | "dist": {
56 | "type": "zip",
57 | "url": "https://api.github.com/repos/fabpot/Pimple/zipball/v1.0.2",
58 | "reference": "v1.0.2",
59 | "shasum": ""
60 | },
61 | "require": {
62 | "php": ">=5.3.0"
63 | },
64 | "type": "library",
65 | "extra": {
66 | "branch-alias": {
67 | "dev-master": "1.0.x-dev"
68 | }
69 | },
70 | "autoload": {
71 | "psr-0": {
72 | "Pimple": "lib/"
73 | }
74 | },
75 | "notification-url": "https://packagist.org/downloads/",
76 | "license": [
77 | "MIT"
78 | ],
79 | "authors": [
80 | {
81 | "name": "Fabien Potencier",
82 | "email": "fabien@symfony.com"
83 | }
84 | ],
85 | "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
86 | "homepage": "http://pimple.sensiolabs.org",
87 | "keywords": [
88 | "container",
89 | "dependency injection"
90 | ],
91 | "time": "2013-03-08 08:21:40"
92 | },
93 | {
94 | "name": "psr/log",
95 | "version": "1.0.0",
96 | "source": {
97 | "type": "git",
98 | "url": "https://github.com/php-fig/log",
99 | "reference": "1.0.0"
100 | },
101 | "dist": {
102 | "type": "zip",
103 | "url": "https://github.com/php-fig/log/archive/1.0.0.zip",
104 | "reference": "1.0.0",
105 | "shasum": ""
106 | },
107 | "type": "library",
108 | "autoload": {
109 | "psr-0": {
110 | "Psr\\Log\\": ""
111 | }
112 | },
113 | "notification-url": "https://packagist.org/downloads/",
114 | "license": [
115 | "MIT"
116 | ],
117 | "authors": [
118 | {
119 | "name": "PHP-FIG",
120 | "homepage": "http://www.php-fig.org/"
121 | }
122 | ],
123 | "description": "Common interface for logging libraries",
124 | "keywords": [
125 | "log",
126 | "psr",
127 | "psr-3"
128 | ],
129 | "time": "2012-12-21 11:40:51"
130 | },
131 | {
132 | "name": "silex/silex",
133 | "version": "dev-master",
134 | "source": {
135 | "type": "git",
136 | "url": "https://github.com/fabpot/Silex.git",
137 | "reference": "803f809cdaa409e5769b24db952655d7e9187677"
138 | },
139 | "dist": {
140 | "type": "zip",
141 | "url": "https://api.github.com/repos/fabpot/Silex/zipball/803f809cdaa409e5769b24db952655d7e9187677",
142 | "reference": "803f809cdaa409e5769b24db952655d7e9187677",
143 | "shasum": ""
144 | },
145 | "require": {
146 | "php": ">=5.3.3",
147 | "pimple/pimple": "1.*",
148 | "symfony/event-dispatcher": ">=2.1,<2.3-dev",
149 | "symfony/http-foundation": ">=2.1,<2.3-dev",
150 | "symfony/http-kernel": ">=2.1,<2.3-dev",
151 | "symfony/routing": ">=2.1,<2.3-dev"
152 | },
153 | "require-dev": {
154 | "doctrine/dbal": ">=2.2.0,<2.4.0-dev",
155 | "swiftmailer/swiftmailer": "4.2.*",
156 | "symfony/browser-kit": ">=2.1,<2.3-dev",
157 | "symfony/config": ">=2.1,<2.3-dev",
158 | "symfony/css-selector": ">=2.1,<2.3-dev",
159 | "symfony/dom-crawler": ">=2.1,<2.3-dev",
160 | "symfony/finder": ">=2.1,<2.3-dev",
161 | "symfony/form": ">=2.1.4,<2.3-dev",
162 | "symfony/locale": ">=2.1,<2.3-dev",
163 | "symfony/monolog-bridge": ">=2.1,<2.3-dev",
164 | "symfony/options-resolver": ">=2.1,<2.3-dev",
165 | "symfony/process": ">=2.1,<2.3-dev",
166 | "symfony/security": ">=2.1,<2.3-dev",
167 | "symfony/serializer": ">=2.1,<2.3-dev",
168 | "symfony/translation": ">=2.1,<2.3-dev",
169 | "symfony/twig-bridge": ">=2.1,<2.3-dev",
170 | "symfony/validator": ">=2.1,<2.3-dev",
171 | "twig/twig": ">=1.8.0,<2.0-dev"
172 | },
173 | "suggest": {
174 | "symfony/browser-kit": ">=2.1,<2.3-dev",
175 | "symfony/css-selector": ">=2.1,<2.3-dev",
176 | "symfony/dom-crawler": ">=2.1,<2.3-dev",
177 | "symfony/form": "To make use of the FormServiceProvider, >= 2.1.4 is required"
178 | },
179 | "type": "library",
180 | "extra": {
181 | "branch-alias": {
182 | "dev-master": "1.0.x-dev"
183 | }
184 | },
185 | "autoload": {
186 | "psr-0": {
187 | "Silex": "src/"
188 | }
189 | },
190 | "notification-url": "https://packagist.org/downloads/",
191 | "license": [
192 | "MIT"
193 | ],
194 | "authors": [
195 | {
196 | "name": "Fabien Potencier",
197 | "email": "fabien@symfony.com"
198 | },
199 | {
200 | "name": "Igor Wiedler",
201 | "email": "igor@wiedler.ch",
202 | "homepage": "http://wiedler.ch/igor/"
203 | }
204 | ],
205 | "description": "The PHP micro-framework based on the Symfony2 Components",
206 | "homepage": "http://silex.sensiolabs.org",
207 | "keywords": [
208 | "microframework"
209 | ],
210 | "time": "2013-04-01 08:47:32"
211 | },
212 | {
213 | "name": "symfony/event-dispatcher",
214 | "version": "v2.2.0",
215 | "target-dir": "Symfony/Component/EventDispatcher",
216 | "source": {
217 | "type": "git",
218 | "url": "https://github.com/symfony/EventDispatcher.git",
219 | "reference": "v2.2.0-RC3"
220 | },
221 | "dist": {
222 | "type": "zip",
223 | "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/v2.2.0-RC3",
224 | "reference": "v2.2.0-RC3",
225 | "shasum": ""
226 | },
227 | "require": {
228 | "php": ">=5.3.3"
229 | },
230 | "require-dev": {
231 | "symfony/dependency-injection": ">=2.0,<3.0"
232 | },
233 | "suggest": {
234 | "symfony/dependency-injection": "2.2.*",
235 | "symfony/http-kernel": "2.2.*"
236 | },
237 | "type": "library",
238 | "extra": {
239 | "branch-alias": {
240 | "dev-master": "2.2-dev"
241 | }
242 | },
243 | "autoload": {
244 | "psr-0": {
245 | "Symfony\\Component\\EventDispatcher\\": ""
246 | }
247 | },
248 | "notification-url": "https://packagist.org/downloads/",
249 | "license": [
250 | "MIT"
251 | ],
252 | "authors": [
253 | {
254 | "name": "Fabien Potencier",
255 | "email": "fabien@symfony.com"
256 | },
257 | {
258 | "name": "Symfony Community",
259 | "homepage": "http://symfony.com/contributors"
260 | }
261 | ],
262 | "description": "Symfony EventDispatcher Component",
263 | "homepage": "http://symfony.com",
264 | "time": "2013-02-11 11:26:43"
265 | },
266 | {
267 | "name": "symfony/http-foundation",
268 | "version": "v2.2.0",
269 | "target-dir": "Symfony/Component/HttpFoundation",
270 | "source": {
271 | "type": "git",
272 | "url": "https://github.com/symfony/HttpFoundation.git",
273 | "reference": "v2.2.0"
274 | },
275 | "dist": {
276 | "type": "zip",
277 | "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/v2.2.0",
278 | "reference": "v2.2.0",
279 | "shasum": ""
280 | },
281 | "require": {
282 | "php": ">=5.3.3"
283 | },
284 | "type": "library",
285 | "extra": {
286 | "branch-alias": {
287 | "dev-master": "2.2-dev"
288 | }
289 | },
290 | "autoload": {
291 | "psr-0": {
292 | "Symfony\\Component\\HttpFoundation\\": ""
293 | },
294 | "classmap": [
295 | "Symfony/Component/HttpFoundation/Resources/stubs"
296 | ]
297 | },
298 | "notification-url": "https://packagist.org/downloads/",
299 | "license": [
300 | "MIT"
301 | ],
302 | "authors": [
303 | {
304 | "name": "Fabien Potencier",
305 | "email": "fabien@symfony.com"
306 | },
307 | {
308 | "name": "Symfony Community",
309 | "homepage": "http://symfony.com/contributors"
310 | }
311 | ],
312 | "description": "Symfony HttpFoundation Component",
313 | "homepage": "http://symfony.com",
314 | "time": "2013-02-26 09:42:13"
315 | },
316 | {
317 | "name": "symfony/http-kernel",
318 | "version": "v2.2.0",
319 | "target-dir": "Symfony/Component/HttpKernel",
320 | "source": {
321 | "type": "git",
322 | "url": "https://github.com/symfony/HttpKernel.git",
323 | "reference": "v2.2.0"
324 | },
325 | "dist": {
326 | "type": "zip",
327 | "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/v2.2.0",
328 | "reference": "v2.2.0",
329 | "shasum": ""
330 | },
331 | "require": {
332 | "php": ">=5.3.3",
333 | "psr/log": ">=1.0,<2.0",
334 | "symfony/event-dispatcher": ">=2.1,<3.0",
335 | "symfony/http-foundation": ">=2.2,<2.3-dev"
336 | },
337 | "require-dev": {
338 | "symfony/browser-kit": "2.2.*",
339 | "symfony/class-loader": ">=2.1,<3.0",
340 | "symfony/config": ">=2.0,<3.0",
341 | "symfony/console": "2.2.*",
342 | "symfony/dependency-injection": ">=2.0,<3.0",
343 | "symfony/finder": ">=2.0,<3.0",
344 | "symfony/process": ">=2.0,<3.0",
345 | "symfony/routing": ">=2.2,<2.3-dev",
346 | "symfony/stopwatch": ">=2.2,<2.3-dev"
347 | },
348 | "suggest": {
349 | "symfony/browser-kit": "2.2.*",
350 | "symfony/class-loader": "2.2.*",
351 | "symfony/config": "2.2.*",
352 | "symfony/console": "2.2.*",
353 | "symfony/dependency-injection": "2.2.*",
354 | "symfony/finder": "2.2.*"
355 | },
356 | "type": "library",
357 | "extra": {
358 | "branch-alias": {
359 | "dev-master": "2.2-dev"
360 | }
361 | },
362 | "autoload": {
363 | "psr-0": {
364 | "Symfony\\Component\\HttpKernel\\": ""
365 | }
366 | },
367 | "notification-url": "https://packagist.org/downloads/",
368 | "license": [
369 | "MIT"
370 | ],
371 | "authors": [
372 | {
373 | "name": "Fabien Potencier",
374 | "email": "fabien@symfony.com"
375 | },
376 | {
377 | "name": "Symfony Community",
378 | "homepage": "http://symfony.com/contributors"
379 | }
380 | ],
381 | "description": "Symfony HttpKernel Component",
382 | "homepage": "http://symfony.com",
383 | "time": "2013-03-01 06:52:29"
384 | },
385 | {
386 | "name": "symfony/routing",
387 | "version": "v2.2.0",
388 | "target-dir": "Symfony/Component/Routing",
389 | "source": {
390 | "type": "git",
391 | "url": "https://github.com/symfony/Routing.git",
392 | "reference": "v2.2.0-RC3"
393 | },
394 | "dist": {
395 | "type": "zip",
396 | "url": "https://api.github.com/repos/symfony/Routing/zipball/v2.2.0-RC3",
397 | "reference": "v2.2.0-RC3",
398 | "shasum": ""
399 | },
400 | "require": {
401 | "php": ">=5.3.3"
402 | },
403 | "require-dev": {
404 | "doctrine/common": ">=2.2,<3.0",
405 | "psr/log": ">=1.0,<2.0",
406 | "symfony/config": ">=2.2,<2.3-dev",
407 | "symfony/yaml": ">=2.0,<3.0"
408 | },
409 | "suggest": {
410 | "doctrine/common": "~2.2",
411 | "symfony/config": "2.2.*",
412 | "symfony/yaml": "2.2.*"
413 | },
414 | "type": "library",
415 | "extra": {
416 | "branch-alias": {
417 | "dev-master": "2.2-dev"
418 | }
419 | },
420 | "autoload": {
421 | "psr-0": {
422 | "Symfony\\Component\\Routing\\": ""
423 | }
424 | },
425 | "notification-url": "https://packagist.org/downloads/",
426 | "license": [
427 | "MIT"
428 | ],
429 | "authors": [
430 | {
431 | "name": "Fabien Potencier",
432 | "email": "fabien@symfony.com"
433 | },
434 | {
435 | "name": "Symfony Community",
436 | "homepage": "http://symfony.com/contributors"
437 | }
438 | ],
439 | "description": "Symfony Routing Component",
440 | "homepage": "http://symfony.com",
441 | "time": "2013-02-11 11:24:47"
442 | },
443 | {
444 | "name": "symfony/twig-bridge",
445 | "version": "v2.2.0",
446 | "target-dir": "Symfony/Bridge/Twig",
447 | "source": {
448 | "type": "git",
449 | "url": "https://github.com/symfony/TwigBridge.git",
450 | "reference": "v2.2.0"
451 | },
452 | "dist": {
453 | "type": "zip",
454 | "url": "https://api.github.com/repos/symfony/TwigBridge/zipball/v2.2.0",
455 | "reference": "v2.2.0",
456 | "shasum": ""
457 | },
458 | "require": {
459 | "php": ">=5.3.3",
460 | "twig/twig": ">=1.11.0,<2.0"
461 | },
462 | "require-dev": {
463 | "symfony/form": "2.2.*",
464 | "symfony/http-kernel": ">=2.2,<2.3-dev",
465 | "symfony/routing": ">=2.2,<2.3-dev",
466 | "symfony/security": ">=2.0,<2.3-dev",
467 | "symfony/templating": ">=2.1,<3.0",
468 | "symfony/translation": ">=2.0,<2.3-dev",
469 | "symfony/yaml": ">=2.0,<3.0"
470 | },
471 | "suggest": {
472 | "symfony/form": "2.2.*",
473 | "symfony/http-kernel": "2.2.*",
474 | "symfony/routing": "2.2.*",
475 | "symfony/security": "2.2.*",
476 | "symfony/templating": "2.2.*",
477 | "symfony/translation": "2.2.*",
478 | "symfony/yaml": "2.2.*"
479 | },
480 | "type": "symfony-bridge",
481 | "extra": {
482 | "branch-alias": {
483 | "dev-master": "2.2-dev"
484 | }
485 | },
486 | "autoload": {
487 | "psr-0": {
488 | "Symfony\\Bridge\\Twig\\": ""
489 | }
490 | },
491 | "notification-url": "https://packagist.org/downloads/",
492 | "license": [
493 | "MIT"
494 | ],
495 | "authors": [
496 | {
497 | "name": "Fabien Potencier",
498 | "email": "fabien@symfony.com"
499 | },
500 | {
501 | "name": "Symfony Community",
502 | "homepage": "http://symfony.com/contributors"
503 | }
504 | ],
505 | "description": "Symfony Twig Bridge",
506 | "homepage": "http://symfony.com",
507 | "time": "2013-03-01 06:43:14"
508 | },
509 | {
510 | "name": "twig/twig",
511 | "version": "v1.12.2",
512 | "source": {
513 | "type": "git",
514 | "url": "git://github.com/fabpot/Twig.git",
515 | "reference": "v1.12.2"
516 | },
517 | "dist": {
518 | "type": "zip",
519 | "url": "https://api.github.com/repos/fabpot/Twig/zipball/v1.12.2",
520 | "reference": "v1.12.2",
521 | "shasum": ""
522 | },
523 | "require": {
524 | "php": ">=5.2.4"
525 | },
526 | "type": "library",
527 | "extra": {
528 | "branch-alias": {
529 | "dev-master": "1.12-dev"
530 | }
531 | },
532 | "autoload": {
533 | "psr-0": {
534 | "Twig_": "lib/"
535 | }
536 | },
537 | "notification-url": "https://packagist.org/downloads/",
538 | "license": [
539 | "BSD-3"
540 | ],
541 | "authors": [
542 | {
543 | "name": "Fabien Potencier",
544 | "email": "fabien@symfony.com"
545 | },
546 | {
547 | "name": "Armin Ronacher",
548 | "email": "armin.ronacher@active-4.com"
549 | }
550 | ],
551 | "description": "Twig, the flexible, fast, and secure template language for PHP",
552 | "homepage": "http://twig.sensiolabs.org",
553 | "keywords": [
554 | "templating"
555 | ],
556 | "time": "2013-02-09 18:21:53"
557 | }
558 | ],
559 | "packages-dev": [
560 |
561 | ],
562 | "aliases": [
563 |
564 | ],
565 | "minimum-stability": "stable",
566 | "stability-flags": {
567 | "silex/silex": 20
568 | },
569 | "platform": {
570 | "php": ">=5.4.0"
571 | },
572 | "platform-dev": [
573 |
574 | ]
575 | }
576 |
--------------------------------------------------------------------------------