Skip to content

Releases: RootStudio/Base-PHP-Helpers

v3.1.0

17 Aug 13:23
059805e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.1.0

v3.0.0

08 Aug 14:45
c8055a0
Compare
Choose a tag to compare

Updates composer packages to work with php8.0 and up. #2
And BASE_PULBIC_DIR option for when working with WP, or interesting folder structures

v2.1.0

31 Oct 09:32
Compare
Choose a tag to compare

Adds constants to allow customising of the public and layout paths.

v2.0.1

08 Sep 09:18
Compare
Choose a tag to compare

Fixed issue with public path

v2.0.0

08 Sep 09:13
Compare
Choose a tag to compare

Breaking Changes:

  • mix() has been renamed to base_asset()
  • public_path() has been renamed to base_public_path()
  • Renamed Base::class to BaseLayout::class
  • Added Base::class for path configuration
  • Minimum supported PHP version is now 7.0.0

Libraries:

  • Updated Stringy to v3.0
  • Updated Faker to v1.7

New additions:

  • Added base_http_host() helper for retrieving full host including protocol
  • Added full test suite for peace of mind

v1.2.1

18 Jul 15:38
Compare
Choose a tag to compare

Fixes issue installing faker on new projects.

v1.2.0

18 Jul 10:06
Compare
Choose a tag to compare

Adds Faker library to help with generating example content during development. The package is require-dev and should not be included in production.

v1.1.0

23 Feb 10:58
Compare
Choose a tag to compare
  • Adds additional helpers to match Perch layouts API
  • Wraps additional packages into library
  • Removes dependency on $_SERVER for public_path()

Initial Release

22 Feb 11:55
Compare
Choose a tag to compare

Includes standard port of the Laravel mix helper, removing any dependent code to vanilla PHP.