Download the PHP package m-adamski/symfony-helpers-bundle without Composer

On this page you can find all versions of the php package m-adamski/symfony-helpers-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 symfony-helpers-bundle

Helpers Bundle for Symfony 4

This bundle is deprecated! Each helper was moved into a separate package:


A collection of tools to improve the implementation of frequently-repeated functionalities:

Breadcrumbs Helper

The Breadcrumbs tool simplifies the generation and display process of breadcrumbs.

How to use it?

In the controller function, generate the breadcrumbs structure:

To display breadcrumbs in Twig template file use breadcrumbs() function:

Functions

Directory Helper

The Directory tool was created for faster directory management. With its help, you can quickly create a list of all files in a folder, create a new folder or generate a file path.

Mailer Helper

As the name says, the Mailer Helper is used to send email messages. Helper contain two functions:

The first function generates an instance of the MailerMessage class, which extends the basic class Swift_Message. The other one tries to send the generated message.

How to use it?

In the controller function just call sendMessage function with parameters:

Notification Helper

The tool is intended to help display information for the user.

How to use it?

For example: An error occurred while creating a new blog entry and we would like to inform the user about it:

As in the case of Breadcrumbs Helper, we must also add a call to the corresponding function in the template:

Functions

Pagination Helper

To be able to use Pagination Helper, several changes are required in both the controller and the entity repository. Sample controller function:

As you can see the responseData function requires three parameters. One of them is the repository of the entity we are paging. Now we need to make changes in the entity repository - repository class have to extends Adamski\Symfony\HelpersBundle\Model\PaginableRepository and implement getPaginated function:

Now just add function to render the pagination component in template.

PDF Helper

PDF Helper offers only one function - initDocument. This function create PDFDocument object which provides some useful functions needed to create a PDF document. Below is an example of using PDF Helper:

In the example shown, the template file is rendered, and then the HTML code is inserted as the content of the new PDF document. In addition, the parameters of the PDF file are set.

License

MIT


All versions of symfony-helpers-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
cakephp/chronos Version ^1.1
symfony/asset Version ^4.0
symfony/filesystem Version ^4.0
symfony/finder Version ^4.0
symfony/framework-bundle Version ^4.0
symfony/orm-pack Version ^1.0
symfony/swiftmailer-bundle Version ^3.1
symfony/translation Version ^4.0
symfony/twig-bundle Version ^4.0
tecnickcom/tcpdf Version ^6.2
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 m-adamski/symfony-helpers-bundle contains the following files

Loading the files please wait ....