acanto/laravel-frontend

Laravel package to build frontend applications in tandem with `laravel-scripts`

1.1.7 2023-06-08 18:24 UTC

README

composer

For all the documentation refer to the Acanto Framework Docs.

This package is automatically mirrored as a standalone repository to GitLab through a postpublish npm script that lerna run after its publish work. Composer installs acanto/laravel-frontend through the packagist.org's package which points to this public GitLab repo.

Migration

0.x to 1.x

In your project using LaravelFrontend update:

  • ./composer.json: bump "barryvdh/laravel-debugbar" to "^3.6"

How to

Develop this package locally

Simply symlink your development version inside the project's vendor folder.

Use a forked package

Add to your project's composer.json:

  "repositories": [
      {
          "type": "vcs",
          "url": "git@git.acanto.net:acanto-forks/laravel-page-speed.git"
      }
  ],
  "require": {
      "renatomarinho/laravel-page-speed": "dev-master"
  }

One liners

One liner to clear local cache:

php artisan config:clear && php artisan route:clear && php artisan view:clear && php artisan cache:clear && composer dump-autoload

One liner to optimize laravel:

php artisan config:cache && php artisan route:cache && php artisan view:cache && composer dump-autoload

Development

Notes

Flood prevention

Caching

Sitemap