Tag : Config
ItSolutionStuff.com have tutorials for Config tag, here you can study articles of Config tag, Config tag posts collection, most popular and useful tutorials of Config tag, here you can find list of all relevant posts and example about Config tag, we have lists of tutorials and examples about Config tag. very simple and quick example collection of Latest Config tag.
Whenever you need to get configuration files value then you can set using config helper in Laravel 5. In my previous post i added how to get config file value in laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we require to set application url from app.php file or database name from database.php file so you can set this way:
<strong>Example:</strong>
<pre class="prettyprint lang-php">
config()->set('app.url','http://localhost:8000');
OR
Config::set('app.url','http://localhost:8001');
</pre>
Whenever you need to get configuration files value then you can get using config helper in Laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we require to get application url from app.php file or database name from database.php file so you can get this way:
<strong>Example:</strong>
<pre class="prettyprint lang-php">
config('app.url');
OR
Config::get('app.url');
</pre>
When you first time create your git repo or clone project from git repo then you must have to set username and email. You can also set global username email and also you can set per repository username email. So, in this post in bellow command through you can set global git username and email.
<strong>Global Set:</strong>
<pre class="prettyprint lang-php">
git config --global user.name "Haresh Patel"
git config --global user.email "itsolutionstuff@gmail.com"
git config --list
</pre>
You can also set username and email per project repo using bellow command. First you have to go on your projec.....
Laravel framework is awesome framework in todays. Laravel provide sevaral good feature and that's why it is very popular framework in PHP. Basically if we are work on big website project or ERP level project we always need to define some global variable like site title, number of pagination, footer text etc as depend on our project. So, I am going to show you how to define and use global variable in Laravel 5. Laravel 5 provide very simple way to set Global Variables in our laravel application. It is very pretty simple and with good directory structure.
First we have to create global.php file.....
In this post i would like to share my experience and solution. when i was working on my laravel e commerce website with gitlab. I was fetching one issue suddenly my view cache with error during development. i did try lot to refresh and something other but i can't see any more change in my view, but at last I did resolve my problem using laravel command so, let's see i added several command for clear cache from view, route, confir etc.
<strong class="example">Reoptimized class loader:</strong>
<pre class="prettyprint lang-php">php artisan optimize</pre>
<strong class="example">Clear Cache fac.....
Bootstrap - Jquery multiple select with checkboxes example using bootstrap-multiselect.js plugin
Open Post
How to get Instagram followers count using JQuery Ajax?
Open Post
Laravel 5 - Grayscale Image Generate Example from scratch
Open Post
AngularJS - How to render HTML value in ng-repeat ?
Open Post
Laravel 5 database backup using Laravel Backup Package
Open Post
AngularJS - scroll to a specific element using anchorscroll
Open Post