Download the PHP package phil/directory-bundle without Composer

On this page you can find all versions of the php package phil/directory-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 directory-bundle

phil/directory-bundle

A directory of listings, such as podcasts or shops, that members write and administrators publish.

phil/directory-bundle keeps listings sorted into genres, such as podcasts, local shops or larp sites, in a single table. Adding a genre takes a line of configuration and no class. Each listing is a content of phil/content-bundle, so every change is a version and the history is kept, page by page. Besides content-bundle's title, description, slug, body and SEO, a listing carries a contact card, an address, a map location, the listings it names and who edited each version. The bundle gives each genre its routes, forms and pages, and a section of the sitemap. Its author decides who finds a listing, as phil/indexing-consent names it: everyone, the visitors of the site but not search engines, or only those who have its address.

It is for a community site where people list what they know. Anyone signed in writes a listing and becomes its author. The author, the editors the author names and the administrators change it, and an administrator publishes it, unless publish_every_change publishes every change at once. Genres relate as the configuration says (a larp is played at larp sites), and a listing shows both the listings it names and those that name it. For pages that only editors write, phil/content-bundle alone is enough.

It is a Symfony bundle built on phil/content-bundle, with Doctrine, Symfony Form and a Symfony Security voter for the phil_directory.edit, phil_directory.editors and phil_directory.publish attributes. It adds its own capabilities to content-bundle's pipeline, and takes contact cards, addresses and coordinates from phil/contact-bundle, phil/address-bundle and phil/geo-bundle.

Status

Part State
Listing and ListingDimension: one table, genres, versions Implemented and tested
The capabilities contact, address, location, related and edited-by Implemented and tested
Directory: create, edit, publish, editors, history Implemented and tested
Relations between genres, declared in the configuration, shown on both listings Implemented and tested
The forms, the controller, the routes of each genre Implemented and tested
The voter phil_directory.edit, .editors, .publish Implemented and tested
The sitemap: one section per genre Implemented and tested
Who finds a listing: listed, kept out of search engines, unlisted (phil/indexing-consent) Implemented and tested

Documentation

Document What it covers
Installation Requirements, installing, registering, the security the bundle reads.
Configuration Genres, the administrator role, publishing, the words of the addresses.
Listings Writing, editing, editors, publishing, history, who may do what, who finds a listing, and erasing a user.
Routes and pages The routes of each genre, the templates, the translations, the sitemap.
Extension points What an application implements, configures, replaces or relies on.
Testing How the bundle is tested, and how to run its tests.
Reference Every type of the bundle.

Quick start

Requirements

PHP 8.5 or later; phil/content-bundle, phil/contact-bundle, phil/address-bundle, phil/geo-bundle and phil/ddd-bundle 0.1; phil/indexing-consent 0.1; Doctrine ORM 3.7; Symfony 8.2 (form, routing, security-core); Twig 3.21. phil/sitemap lists the pages when phil/sitemap-bundle is installed.

Contributing

Contributions are welcome on the PHIL monorepo: read the contribution guide and the security policy explains, never in a public issue.

License

MIT, © Philippe Gamache, doing business as Le Gnome Archiviste; a Parler Haut Interagir Librement project. See LICENSE.


All versions of directory-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
doctrine/orm Version ^3.7
phil/address Version ^0.1@dev
phil/address-bundle Version ^0.1@dev
phil/contact Version ^0.1@dev
phil/contact-bundle Version ^0.1@dev
phil/content-bundle Version ^0.1@dev
phil/ddd-bundle Version ^0.1@dev
phil/geo Version ^0.1@dev
phil/geo-bundle Version ^0.1@dev
phil/indexing-consent Version ^0.1@dev
phil/locale-dimensions Version ^0.1@dev
phil/sitemap Version ^0.1@dev
symfony/config Version ^8.2
symfony/dependency-injection Version ^8.2
symfony/form Version ^8.2
symfony/http-foundation Version ^8.2
symfony/http-kernel Version ^8.2
symfony/options-resolver Version ^8.2
symfony/routing Version ^8.2
symfony/security-core Version ^8.2
twig/twig Version ^3.21
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 phil/directory-bundle contains the following files

Loading the files please wait ...