acanto/laravel-frontend

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

0.3.5 2021-09-20 08:06 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.

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