Skip to content
A Laravel package that wraps all the API methods.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Laravelicious: A Delicious Laravel package.

This is a Laravel package that wraps all the Delicious API methods.

Delicious API docs page


Require this package with composer using the following command:

composer require tr0n/laravelicious.


First, you need to add the auth params in the config, to do this you will need to publish the config file first. Use the following command:

php artisan config:publish tr0n/laravelicious

After that, a config file named general.php is generated inside the /app/config/packages/tr0n/laravelicious/ folder. Add the user and password parameters inside this file.


All the available Delicious API calls are mapped.

For example:


Add a new post to Delicious.


Type Name Description
array $params (see below)
string $params['url'] The url of the item (required).
string $params['description'] The description of the item (required).
string $params['extended'] Notes for the item.
array $params['tags'] Tags for the item.
string $params['dt'] Datestamp of the item (format “CCYY-MM-DDThh:mm:ssZ”). Requires a LITERAL “T” and “Z” like in ISO8601 at for Example: 1984-09-01T14:21:31Z.
bool $params['replace'] Don’t replace post if given url has already been posted (Default to false).
bool $params['shared'] Make the item private (Default to true).


An associative array With 'success', 'message' and 'url' keys.

All the methods follow the same structure. The arguments are passed as array, depending on the method some are optional and some required, this way we are able to pass more flexibly the arguments that we want.

Same for returning values. All methods returns an array with a field 'success' with true on success and false on failure, a 'message' field parsed from the xml response (if not exists on the response, the field will go empty).

When there are trouble connecting to, a DeliciousConnectionException will be thrown with some details about the attempts, the url and a message.

You can’t perform that action at this time.