A set of improvements over the package resources classes:
The use of the File Facade will be favored.
Rename src/Console/PackageResources/AssetsResource.php to src/Console/PackageResources/AdminlteAssetsResource.php, this way the class results more meaningful.
Rename src/Console/PackageResources/BasicRoutesResource.php to src/Console/PackageResources/AuthRoutesResource.php, this way the class results more meaningful. Now, this resource will be only used to install the authentication routes that are required to work with the Laravel/UI package.
REMOVEDsrc/Console/PackageResources/BasicViewsResource.php and related stuff, it was just installing a very basic example view of layout usage. There's no worth having it since more detailed examples on how to use the layout are provided in the WIKI pages.
Rework all logic in src/Console/PackageResources/MainViewsResource.php. Now this resource will avoid publishing the views related to the blade-x components. This class was also renamed to LayoutViewsResource.
What's in this PR?
A set of improvements over the package resources classes:
src/Console/PackageResources/AssetsResource.php
tosrc/Console/PackageResources/AdminlteAssetsResource.php
, this way the class results more meaningful.src/Console/PackageResources/BasicRoutesResource.php
tosrc/Console/PackageResources/AuthRoutesResource.php
, this way the class results more meaningful. Now, this resource will be only used to install the authentication routes that are required to work with theLaravel/UI
package.src/Console/PackageResources/BasicViewsResource.php
and related stuff, it was just installing a very basic example view of layout usage. There's no worth having it since more detailed examples on how to use the layout are provided in the WIKI pages.src/Console/PackageResources/MainViewsResource.php
. Now this resource will avoid publishing the views related to the blade-x components. This class was also renamed toLayoutViewsResource
.Checklist