PHP code example of radnan / rdn-asset
1. Go to this page and download the library: Download radnan/rdn-asset library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
radnan / rdn-asset example snippets
return array(
'modules' => array(
'RdnAsset',
// ...
),
);
~~~
## How to use
Create a `public/` directory in your module's root and place all your public assets there. Then, simply run the following command from your project root:
~~~bash
$ vendor/bin/console asset:publish
~~~
This will publish the module's assets to your project root's `public/modules/` directory.
Now, you can