JavaScript Bundling

The mix.js() command is your go-to method for any JavaScript bundling needs. This will take care of ES2017 compilation, tree shaking, minification, and more. Let’s review everything you need to know in this episode.
Source: Laracasts

Laracon Online 2018 Early Bird Registration Reminder

As the year comes to a close, remember that for the next 23 days, you can still tickets to Laracon Online 2018 for half the price for $12 (regularly $25). Tickets will go up to $25 on January 3rd, which is still a great deal for the all-star speaker lineup planned. Grab tickets ( today before the busy rush of the holiday and new year.

Visit Laravel News for the full post.

The post Laracon Online 2018 Early Bird Registration Reminder appeared first on Laravel News.

Source: Laravel News

Decoding Your NPM Scripts

Out of the box, you’ll notice that Laravel includes a number of helpful NPM scripts for triggering webpack. To start, the most relevant ones are dev, watch, and prod. In this lesson, we’ll decode these commands to ensure that you fully understand exactly what you’re triggering.
Source: Laracasts

Creating Your Own PHP Helpers in a Laravel Project

Laravel provides many excellent helper functions that are convenient for doing things like working with arrays, file paths, strings, and routes, among other things like the beloved dd() function. You can also define your own set of helper functions for your Laravel applications and PHP packages, by using Composer to import them automatically.

Visit Laravel News for the full post.

The post Creating Your Own PHP Helpers in a Laravel Project appeared first on Laravel News.

Source: Laravel News

A new release of zend-db

Today, we released zend-db 2.9.0!
This is our first new feature release in over 18 months, and contains
7 bug fixes, 6 new features, numerous unit test additions, and many
documentation improvements.

zend-db is an important component of many PHP projects, and we know that its
support is crucial for many people. As such, we allocated a number of weeks to
triaging the various open issues and patches (more than 50) to ensure we would
provide a stable release.

The release contains the following changes:


  • #216 added AFTER support
    in ALTER TABLE syntax for MySQL.
  • #223 added support for
    empty values set with the IN predicate.
  • #271 added support for
    dash characters in MySQL identifiers.
  • #273 added support for
    implementing an error handler when used with db2_prepare.
  • #275 added support for
    LIMIT OFFSET for db2.
  • #280 added the version
    DSN parameter for the pdo_dblib extension.


  • #205 fixes whitespace
    issues in ORDER BY syntax.
  • #224 fixes how parameters
    are bound to statements in the PDO adapter. PDO has a restriction on parameter
    names of [0-9a-zA_Z_]; as such, the driver now hashes the parameter names
    using md5() in order to ensure compatibility with other drivers.
  • #229 fixes SSL support
    in the mysqli adapter.
  • #255 fixes an edge case
    when using ResultSet with array values (versus objects).
  • #261 fixes how the
    Firebird adapter attempts to retrieve the last generated value so as to
    prevent exceptions being raised.
  • #276 and
    #287 provide fixes to
    enable usage of the component with PHP 7.2.

We also dropped support for PHP 5.5 (EOL last year) and HHVM; zend-db 2.9 and
above now only support PHP 5.6 and PHP 7+ releases.

Future of zend-db

We are planning a 3.0 release of zend-db release sometime in 2018. This new major version
will contain new features sucha as extended DDL support
for different database vendors (currently, most support targets MySQL), and support
Additionally, that release will drop support for PHP versions older than 7.1.

If you want to contribute to zend-db, you are more than welcome! For more
information, read the Zend Framework contribution guide.

Special thanks

A special thanks to the following zend-db contributors (in no particular order):

We also extend thanks to our community review team for their efforts in making
this release of zend-db possible.

Source: Zend feed

Revive Adserver version 4.1.0

This version of the world’s most popular, free, open source ad serving system contains several enhancements and improvements (described in detail below) and some bug fixes. The most important enhancements are: support for HTML5 ads (beta), new delivery rules for whitelisting and blacklisting domains, and a WYSIWYG editor for HTML banners.

Below is a list of enhancements and improvements included in Revive Adserver v4.1:

  • We added a new (optional) setting to prevent a user from being redirected to the landing page associated with a banner, when the banner has been deactivated or when the campaign it belongs to is no longer active. In such cases, impressions and clicks on those banners will no longer be counted either.
  • When generating invocation codes (tags), there is a much shorter comment than in earlier releases (long comments can be switched on while generating tags if so desired).
  • In the user interface, a number of terms have been renamed, to bring the language used into line with modern terminology used in the advertising industry:
    * ACLs are now Delivery Options;
    * Delivery Limitations are now Delivery Rules;
    * Targeting Channels are now Delivery Rule Sets.
  • We added some new Site Delivery Rules, to enable white-listing or black-listing based on hostnames and/or registerable domain names. The development of this feature has been sponsored by a generous donor who has asked to remain anonymous.
  • We added a new security feature to invalidate all the active sessions of the current user when changing or recovering their password.
  • We added the option to use TinyMCE as a WYSIWYG HTML editor (just like in WordPress) when creating and editing HTML banners. The editor is switched off by default, for
    increased backwards compatibility, but it can be enabled by default via the user interface account preferences. This preference is ignored when editing HTML ads containing scripts or iframes in order to avoid inadvertently altering 3rd party tags. The development of this feature has been sponsored by a generous donor who has asked to remain anonymous.
  • We added a new {img_url_prefix} magic macro that will print the configured http/https images URL during delivery, depending on the calling protocol.
  • We added (beta) support for HTML5 banners, allowing the upload of banners in IAB compliant ZIP file formats. The development of this feature has been sponsored in part by Aqua Platform, a company specializing in Revive Adserver hosting at enterprise scale.
  • We added support for ordering advertisers, campaigns, banners, websites and zones by the date each was last updated, on the main index page for each, to make finding recently updated entities easier in large installations.
  • We added automatic switching to the mysqli driver when mysql is selected as the database type in the configuration file, but the mysql extension is not available (and vice versa).
  • We added custom events for Javascript Async delivery, allowing the website to better interact with Revive Adserver, e.g. to refresh some ad placements or modifying the data that is sent to and received from the ad server.
  • There have also been many other smaller enhancements and improvements, described in detail in the release notes.
  • We have fixed numerous bugs, and there are also some non-backward compatible changes, so please make sure you carefully study the release notes.

Important: this v4.1 release has a Non-Backwards Compatible Change. Support for PHP 5.5 has been dropped and Revive Adserver now requires at least PHP 5.6.0.

Full release notes for v4.1.0 can be found on our Github page.

Download, install and upgrade

Revive Adserver v4.1 is available for download now.

Once downloaded, please refer to the instructions for Installations of Revive Adserver or for Upgrading Revive Adserver. Make sure that the server being used meets the minimum technical requirements.

1 2 3 4 56