Support the ongoing development of Laravel.io →
mgsmus

mgsmus

Joined 8 Feb 2014

Statistics

Threads 0
Replies 47
Solutions 8
Articles 0

mgsmus has not posted any threads yet

replied 11 years ago

How to load assets (css/js) from vendor/package folder?

@Seb7 I mean bootstrap-star-rating.It's not a laravel or php package, it is a jQuery plugin. You can...

0 Likes
replied 11 years ago

How to load assets (css/js) from vendor/package folder?

Why do you use composer? This is a js-only project, doesn't have any php code. Use bower if you insi...

0 Likes
replied 11 years ago

How do I Echo the View Filename as an ID?

View::composer('*', function($view) { $view->with('viewName', pathinfo($view->getName(),PA...

0 Likes
Solved
replied 11 years ago

How do I Echo the View Filename as an ID?

This will give you the name without structure. You can also use substr etc. pathinfo($viewName,PATHI...

0 Likes
replied 11 years ago

How do I Echo the View Filename as an ID?

Create a file called composers.php inside app folder (same level with routes,filters) and copy the c...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.