Download the PHP package carlescliment/calendar-bundle without Composer

On this page you can find all versions of the php package carlescliment/calendar-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package calendar-bundle

CalendarBundle

Build Status

The CalendarBundle gives you a built-in calendar for managing events without relying on third-parties like Google. It comes with four different default views; agenda, by day, by week and by month. If you need greater customizations, you can use the bundle as a simple calendar API and build your own logic on it.

Installation

1. Update your vendors

Add this line to your composer.json

"require": {
    "carlescliment/calendar-bundle": "dev-master"
}

Execute php composer.phar update carlescliment/calendar-bundle

2. Load the bundle in app/AppKernel.php

$bundles = array(
    // ...
    new BladeTester\CalendarBundle\BladeTesterCalendarBundle(),
);

3. Update your routing:

// ...

BladeTesterCalendarBundle:
    resource: "@BladeTesterCalendarBundle/Resources/config/routing.yml"
    prefix:   /

4. Create your calendar bundle

Create a new bundle extending BladeTesterCalendarBundle

namespace Your\OwnCalendarBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class YourOwnCalendarBundle extends Bundle
{

   public function getParent()
    {
        return 'BladeTesterCalendarBundle';
    }
}

WARNING: If your bundle includes its own routing file, remember to delete it or completely override the parent bundle paths.

Add it to AppKernel.

5. Update the schema

6. Install the assets

Using the calendar

Go to http://www.example.com/calendar and enjoy :)

Customizing the bundle

If you want to override the bundle default views to use your design and markup, please follow the next steps.

1. Override the default base template

Copy the template in Resources/views/Base/base.html.twig into your own bundle and modify it to extend your base template.

2. Add the assets to your base template

Note: remove the line including jquery if your template already includes it.

How to override the default entities

You can define your own entities. First, create your custom entity:

Then modify your app/config/config.yml

Extending the behaviour

It is easy to extend the behaviour of this bundle by using inheritance in your models and entities. If it is not enough, you can register listeners to the calendar events.

Pre-persist event

Dispatched whenever an item is about to be created in the database.

Post-add event

Dispatched after an item is added to the database.

Post-update event

Dispatched after an item is updated.

Testing

CalendarBundle contains unitary and functional tests. Download the bundle, create the database according to the travis.yml file and configure the access settings in src/BladeTester/CalendarBundle/Tests/App/parameters.ini. Run the following command:

Credits

Contribute and feedback

Any feedback and contribution will be very appreciated.


All versions of calendar-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
sensio/framework-extra-bundle Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package carlescliment/calendar-bundle contains the following files

Loading the files please wait ....