Where is Laravel's core? - laravel

I understand this is Laravel's core, but when you want to create a Laravel application you need download this, create a project via composer, or whatever.
This question might be stupid, but, where is the actual core in a Laravel project? Meaning that I can't browse through the application's folder to find it, whereas I am pretty sure I could do it in other frameworks such as CodeIgniter, core folder maybe?.
So where is the kernel? How is all linked so that the application works?

When you composer install, it downloads it to this directory:
vendor/laravel/framework/src/Illuminate

Related

What is the difference between a file with .dist and without

I'm trying to learn more about package development by using Laravel Nova as a bit of a guide. I'm confused as to how Nova's assets are compiled, and part of that confusion stems from Nova not having a webpack.mix.js but instead a webpack.mix.js.dist.
I'm trying to model this within my package in order to compile and publish my assets for use in my project, but I get npm errors when trying to run any command
Cannot find module 'dir/dir/dir/package/webpack.mix'
I'm unsure as to why it is looking for this file in the first place, but it still seems to be an issue. To get to the root of why this is an issue and how I can fix this, I'd like to know what the difference between webpack.mix.js and webpack.mix.js.dist is.
Any feedback on this would be greatly appreciated. Thank you.
Files that end in '.dist' are generally the default distribution files that come from the package and should not be edited. They will be overwritten on package updates.
You can use them as a reference to add or replace configuration in your primary file(s).
From what I can gather, Laravel Nova creates it's real webpack.mix.js from this file when you activate a certain feature. (It's a paid product, I do not have a license to see it, I can only skim the documents.)

Laravel or OctoberCMS Phoca Download Like Kind of Library

I need a Laravel or OctoberCMS files and folders view on website front-end. I can use Phoca Download in Joomla to allow users to navigate folders and download files in the folders. Which Laravel or OctoberCMS library I can use to achieve almost similar behavior?
In case of Laravel:
First of all Laravel is not a CMS, its actually a framework to develop web applications rapidly. You can get file manager packages for laravel, there are lots of packages/libraries and tools for Laravel but gain you have to manually install and manage those packages in your intended way.
Laravel File Management - Usefull Links:
1) laravel-filemanager
2) laravel-elfinder
3) laravel-medialibrary
You might like Laravel File Manager
There is huge difference between framework and CMSs. CMS does have easy to install modules/extensions for a particular problem and frameworks too. But most of the time you have to implement best library or package for your framework on your own and use available functionalities on your own.
Laravel has its own native file management system included with Laravel framework:
Laravel File System
Random Link: Use Laravel-filemanager without editor
You can develop your own plugins like Phoca on Laravel Framework or you can simply utilize one of the available library to update and configure file system as Phoca
We have build a Download Manager for October
http://octobercms.com/plugin/inetis-downloadmanager
you will find a demo here : https://demo.inetis.ch/plugins/download-manager
It could fit your needs

Laravel Download and Installation

I'm a webdeveloper and I'm starting a huge project requested by a company.
I'm trying to figure out if is best to use a PHP framework or not, and in case, which one.
I know Codeigniter, but I wanted to look around to see what's the best framework at the moment. I found out Laravel is trending at the top so I wanted to try it out.
Being used to Codeigniter I usually download the zip file with all the phps inside and start working. I'm trying to do the same with Laravel but I saw you are to download and use composer to install it.
I'm not really used to the Terminal and I wanted to ask if that's the only way of installing it or if there is a downloadable version as in Codeigniter, CakePHP, etc...
You can always download the ZIPped code directly from project's GitHub site. You can find the base application here: https://github.com/laravel/laravel - you'll find a link at the bottom of the right column. This code is what composer downloads when you use that to setup the application.
If you want to use Laravel you will have to use Composer as this is what the application uses to manage its dependencies. It's not hard, as you'll only need to run a few commands.
You can learn more about how to install and use composer in the docs: https://getcomposer.org/download/

How to interact lavender-commerce/lavender to a exist project

I have project written by laravel 5.and now,I want install a module e-commerce for it.
So I looked at lavender-commerce/lavender.
Can I bult-in it to my project?
How can i do it?

Installing yii2 framework using Xampp - do i need a github account?

A couple of years of go i used to program using PHP, but without frameworks. With these recent developments I've decided to get in the to the game and try using one. I've decided to use yii 2.0 .
I've read some of the documentation and in my opinion there is some lack of information (at least for who is getting started), so i´m having some problems installing yii 2.0 on my computer using Xampp. The PHP version is 5.5.9.
From what i could understand i downloaded the yii 2.0 framework, extracted the content and copied to c:\xampp\htdocs\yii2
I've already installed the composer, so the the next thing to do i think would be, using the cmd, do these two lines of code:
composer global require "fxp/composer-asset-plugin:1.0.0"
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
The problem is when i do the last one it asks for username and password i think of GitHub. Can you tell me if I'm obligated to have an account on github to install yii 2.0 framework.
Is there a way to get around this?
Yii2 is integrated with composer asset plugin. It allows download Bower and NodeJs packages through Composer.
Github account is required to overcome API rate limit. Here is the explanation from the main contributor of this extension:
It's a rate limit of Github API. In anonymous access, Github at a
greatly reduced limit (60/hr it seems to me), and we must be logged
with a token for have a much higher limit.
See composer/composer#1569 and composer/composer#1877
The problem also exists using Nodejs and Bower.
You can find it in this issue, it's 9th from the top.
I think workaround with installing Bower and the same packages is not an option, because initially and with each framework update you must manually synchronize packages with their versions and override some configuration. Also some extensions require javascript plugins and using composer asset plugin too. So you have to do the same with each of them too. It simply not worth it. And having account on Github for web developer nowadays is kind of de facto standard.
Just create Github account if you are still don't have one and everything should be fine. Earlier updating process was pretty slow, now it's faster and I found this approach pretty interesting and flexible.

Resources